-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
80 lines (67 loc) · 1.36 KB
/
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
body {
margin: 20px;
/*
Challenge:
Find a web safe font you like, and add it
to your card.
*/
font-family: serif, sans-serif, 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana;
}
.avatar {
width: 150px;
border-radius: 10px;
}
.card {
width: 400px;
margin: 0 auto;
padding: 20px;
display: flex;
justify-content: space-around;
text-align: center;
background: #000814;
color: #dad7cd;
border-bottom: 15px solid #ffc300;
border-radius: 10px;
/*
Challenge:
Find a color palette you like on Coolors.co
and use it in your business card.
*/
}
h3{
font-size: 22px;
}
h4{
font-weight: normal;
}
img {
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.shadow {
shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
#sname {
margin-top: auto;
margin-bottom: auto;
color: dad7cd;
}
#sname p {
font-weight: bold;
transition: all 500ms;
}
#sname p:hover {
font-size: 20px;
font-size-adjust: 88px;
color: #ffc300;
}
/*
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 🤯🤯🤯
*/