forked from apu52/Travel_Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
counter.css
82 lines (77 loc) · 1.49 KB
/
counter.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
80
81
82
/* counter */
.wrapper {
width: 80%;
margin-left: auto;
margin-right: auto;
align-items: center;
display: flex;
justify-content: space-between;
}
.countitem {
width: 28vmin;
height: 28vmin;
display: flex;
flex-direction: column;
justify-content: space-around;
padding: 1.5em 1px;
margin:0px 10px;
font-size: 16px;
border-width: 0.5px ;
border-color: solid purple;
border-radius: 0.5em;
background: linear-gradient(white,rgb(153, 139, 251));
border-bottom: 10px solid #40349c;
}
.countitem i {
color: #06006e;
font-size: 2.5em;
text-align: center;
}
span.num {
color: #32316a;
display: grid;
place-items: center;
font-weight: 600;
font-size: 3em;
}
span.text {
color: #6c2121;
font-size: 1.2em;
text-align: center;
padding: 0em 00em;
font-weight: 400;
margin-bottom: 1em;
line-height: 0;
}
@media screen and (max-width: 1024px) {
.wrapper {
width: 85vw;
}
.countitem{
height: 26vmin;
width: 26vmin;
font-size: 12px;
}
}
@media screen and (max-width: 768px) {
.wrapper {
width: 90vw;
flex-wrap: wrap;
gap: 30px;
}
.countitem {
width: calc(50% - 40px);
height: 30vmin;
font-size: 14px;
}
}
@media screen and (max-width: 480px) {
.wrapper {
gap: 15px;
}
.countitem {
width: 100%;
height: 25vmin;
font-size: 8px;
}
}