-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathservice.css
129 lines (90 loc) · 1.71 KB
/
service.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
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
123
124
125
126
127
128
129
*{
padding: 0;
margin: 0;
transition: 0.3s;
}
body{
width: 100vw;
height: 100vh;
background: #f1f1f1;
overflow: hidden;
}
h5{
margin-top: 100px;
margin-left: 100px;
color: #ff3366;
letter-spacing: 1.5px;
}
h1{
font-size: 60px;
color: #3c3e41;
margin-left: 100px;
margin-top: 20px;
}
p{
font-size: 12px;
font-family: sans-serif;
color: dimgrey;
/* margin-left: 100px;
margin-top: 20px; */
}
.container{
width: 1200px;
margin: auto;
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 50px;
}
.box{
width: 250px;
height: 250px;
padding: 50px;
overflow: hidden;
border-radius: 14px;
background: linear-gradient(145deg , #e6e6e6, #ffffff);
box-shadow: 8px 8px 16px #d1d1d1,
-8px -8px 16px #ffffff;
cursor: pointer;
transition: 0.3s;
}
.box:hover{
background: linear-gradient(145deg, #bb0738, #ff3366);
box-shadow: 8px 8px 16px #d1d1d1,
-8px -8px 16px #ffffff;
}
.icons{
font-size: 50px;
color: #ff3366;
margin-top: 10px;
}
.box:hover .icons{
margin-top: 0px;
color: #fff;
}
.box h2{
font-weight: 500;
margin-top: 25px ;
}
.box:hover h2{
color: #fff;
}
.box p{
color:grey;
font-weight: 400;
margin-top: 25px;
}
.box:hover p{
color: #fff;
}
.arrow {
font-size: 30px;
color: #ff3366;
margin-top: 40px;
display: none ;
}
.box:hover .arrow{
color: #fff;
margin: top 30px;
display: block;
}