-
Notifications
You must be signed in to change notification settings - Fork 1
/
animation.css
78 lines (63 loc) · 1.22 KB
/
animation.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
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Roboto', sans-serif;
background: rgb(255, 255, 255)
url('https://i.pinimg.com/originals3c/24/46/3c24462450c2a902bf7e18f3d9aada81.jpg');
color: #fff;
/* Push to bottom */
display: flex;
flex-direction: column;
justify-content: flex-end;
}
.container {
max-width: 1100px;
margin: 0 auto;
overflow: auto;
}
heade {
flex: 1;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
header h1 {
font-size: 60px;
}
.counters {
background: #0f479a;
color: #fff;
padding: 40px 20px;
border-top: 3px lightskyblue solid;
}
.counters .container {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 30px;
text-align: center;
}
.counters i {
color: lightskyblue;
margin-bottom: 5px;
}
.counters .counter {
font-size: 45px;
margin: 10px 0;
}
.counter::after{
content: "+" }
@media (max-width: 700px) {
.counters .container {
grid-template-columns: repeat(2, 1fr);
}
.counters .container > div:nth-of-type(1),
.counters .container > div:nth-of-type(2) {
border-bottom: 1px lightskyblue solid;
padding-bottom: 20px;
}
}