-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
61 lines (59 loc) · 1.11 KB
/
style.css
File metadata and controls
61 lines (59 loc) · 1.11 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'poppins', sans-serif;
}
.container{
width: 100%;
height: 100%;
padding: 0 8%;
}
.container h1{
text-align: center;
padding-top: 10%;
margin-bottom: 60px;
font-weight: 600;
position: relative;
}
.container h1::after{
content: '';
background: #050B52;
width: 100px;
height: 5px;
position: absolute;
bottom: -5px;
left: 50%;
transform:translateX(-50%);
}
.row{
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
grid-gap: 30px;
}
.service{
text-align: center;
padding: 25px 10px;
border-radius: 5px;
font-size: 14px;
cursor: pointer;
background: transparent;
transition: transform 0.5s, background 0.5s;
}
.service i{
font-size: 40px;
margin-bottom: 10px;
color: #050B52;
}
.service h2{
font-weight: 600;
margin-bottom: 8px;
}
.service:hover{
background: #050B52;
color: #fff;
transform: scale(1.05);
}
.service:hover i{
color: #fff;
}