-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
122 lines (102 loc) · 2.46 KB
/
styles.css
File metadata and controls
122 lines (102 loc) · 2.46 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
body {
text-align: center;
font-family: "Schoolbell";
background: linear-gradient(#89a1ef, #32936f);
color: #ffbf00;
}
h1, h2, h3, h4, p {
text-shadow: 0 0 2px black;
}
#bff-img {
width: 150px;
height: 150px;
border-radius: 50%;
border: 6px dotted #fe6d73;
margin-bottom: 10px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
object-fit: cover;
}
#bday-age {
background: #fe6d73;
padding: 5px 10px;
border-radius: 5px;
margin: 5px 0 10px 0;
}
#bday-date {
margin: 0;
background: #fe6d73;
padding: 5px 10px;
border-radius: 5px;
}
#header {
display: flex;
flex-direction: column;
align-items: center;
background-image: url("images/Confetti.gif");
background-repeat: no-repeat;
background-position: center;
}
.gift-section {
margin-top: 50px;
}
.gift-title {
margin-bottom: 10px;
}
.gift-hint {
margin-top: 0;
}
#gift-img-cheers {
height: 200px;
}
.gift-img {
margin: 20px auto;
max-width: 400px;
height: 400px;
border: 6px solid white;
border-radius: 10px;
background-image: url("images/gift-cover.jpg");
background-size: cover;
transition: ease-in-out 0.5s;
}
#gift-img-happy:hover {
background-image: url("images/happyCat.webp");
box-shadow: 0 0 15px #00e8fc;
transition: background-image ease-out 0.5s;
}
#gift-img-hot:hover {
background-image: url("images/laughing.webp");
box-shadow: 0 0 15px #00e8fc;
transition: background-image ease-out 0.5s;
}
#gift-img-genius:hover {
background-image: url("images/sleepy.webp");
box-shadow: 0 0 15px #00e8fc;
transition: background-image ease-out 0.5s;
}
#gift-img-badass:hover {
background-image: url("images/CatSerious.webp");
box-shadow: 0 0 15px #00e8fc;
transition: background-image ease-out 0.5s;
}
#gift-img-cheers:hover {
background-image: url("images/reward.webp");
box-shadow: 0 0 15px #00e8fc;
transition: background-image ease-out 0.5s;
}
#footer {
font-style: italic;
width: 400px;
margin: 40px auto 20px;
}
a {
color: white;
}
/*
Add the footer paragraph according to the design.
Configure the anchor tag to open the link in a new tab.
Forgotten how to do it? Google it!
Link:
https://scrimba.com/learn/htmlandcss
Text:
Want to create your own Birthday GIFt site? Take this HTML & CSS course.
*/