-
Notifications
You must be signed in to change notification settings - Fork 83
/
styles.css
60 lines (52 loc) · 1.18 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
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #fef3e2;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.counter {
background-color: #e5e5f7;
opacity: 0.8;
background-image: repeating-linear-gradient(45deg, #f74545 25%, transparent 25%, transparent 75%, #f74545 75%, #f74545), repeating-linear-gradient(45deg, #f74545 25%, #e5e5f7 25%, #e5e5f7 75%, #f74545 75%, #f74545);
background-position: 0 0, 10px 10px;
background-size: 20px 20px;
padding: 80px;
border-radius: 10px;
width: 80%;
position: relative;
}
.pastry {
color: #533117;
padding: 20px;
border-radius: 50%;
font-size: 18px;
position: absolute;
}
.pastry img {
width: 50px;
height: 50px;
}
.pastry1 { /* Cookie */
top: 0;
left: 0;
background-color: #f0bb7f;
}
.pastry2 { /* Brownie */
top: 0;
right: 0;
background-color: #7f553f;
}
.pastry3 { /* Cupcake */
bottom: 0;
left: 0;
background-color: #f0a8be;
}
.pastry4 { /* Jelly Roll */
bottom: 0;
right: 0;
background-color: #7fa8f0;
}