-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
53 lines (50 loc) · 1016 Bytes
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
body {
margin: 20px;
/*
Challenge:
Find a web safe font you like, and add it
to your card.
*/
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.avatar {
width: 150px;
height: 150px;
border-radius: 50px;
border: 5px ridge #c7f9cc;
}
.card {
width: 400px;
margin: 0 auto;
padding: 20px;
display: flex;
justify-content: space-around;
text-align: center;
background: #344e41;
color: #dad7cd;
border: 4px solid #a3b18a;
border-radius: 50px;
}
.button{
border-radius: 50px;
color: #335c67;
}
button:hover{
background-color: #c7f9cc;
}
/*
Challenge:
Find a color palette you like on Coolors.co
and use it in your business card.
*/
/*
Stretch goals:
Find other ways you can personalize
the design of your business card, e.g.:
- change the border(s)
- add border radius
- shuffle the layout
- shadows 🤯
- hover effects 🤯🤯
- animations 🤯🤯🤯
*/