-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
75 lines (64 loc) · 1.48 KB
/
style.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
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
* {
margin: 0;
padding: 0;
}
body {
background: linear-gradient(to right, #eaafc8, #654ea3);
font-family: 'Poppins', sans-serif;
}
.container{
margin-top: 3rem;
display: flex;
justify-content: center;
gap: 3rem;
flex-wrap: wrap;
}
.card {
background-color: #fff;
width: 260px;
margin-top: 2rem;
padding: 0 2rem;
border-radius: 5px;
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
box-shadow: 0 0 8px 10px rgba(0, 0, 0, 0.1);
transition: all 0.4s;
}
.card:hover{
transform: translateY(-20px);
}
.icon {
font-size: 3rem;
}
.icon i {
background-color: #f3ec78;
background-image: linear-gradient(to right, #eaafc8, #654ea3);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.card__section_1,
.card__section_2,
.card__section_3 {
padding: 2rem 0;
}
.card__section_2 {
border-top: solid rgb(207, 207, 207) 1px;
border-bottom: solid rgb(207, 207, 207) 1px;
}
.card__section_3 h2{
background-image: linear-gradient(to right, #eaafc8, #654ea3);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.card__section_3 a {
text-decoration: none;
display: inline-block;
margin-top: 1rem;
background-image: linear-gradient(to right, #eaafc8, #654ea3);
padding: 0.5rem 1rem;
color: #fff;
border-radius: 50px;
}