-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
129 lines (112 loc) · 1.98 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
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
@import url('https://fonts.googleapis.com/css?family=Roboto:300');
body {
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif !important;
}
section {
width: 100%;
height: 100%;
box-sizing: border-box;
padding: 120px 0;
}
.card {
position: relative;
max-width: 300px;
height: auto;
border-radius: 15px;
margin: 0 auto;
padding: 40px 20px;
box-shadow: 0 10px 15px rgba(0,0,0,0.1);
transition: .5s;
overflow: hidden;
}
.card:hover {
transform: scale(1.1);
}
.col-sm-4:nth-child(1) .card,
.col-sm-4:nth-child(1) .card .title .fa {
background: linear-gradient(-45deg, #f403d1, #64b5f6);
}
.col-sm-4:nth-child(2) .card,
.col-sm-4:nth-child(2) .card .title .fa {
background: linear-gradient(-45deg, #ffec61, #f321d7);
}
.col-sm-4:nth-child(3) .card,
.col-sm-4:nth-child(3) .card .title .fa {
background: linear-gradient(-45deg, #24ff72, #9a4eff);
}
.card:before {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 40%;
background: rgba(255,255,255,.1);
z-index: 1;
transform: skewY(-5deg) scale(1.5);
}
.title .fa {
color: #fff;
font-size: 60px;
width: 100px;
height: 100px;
border-radius: 50%;
text-align: center;
line-height: 100px;
box-shadow: 0 10px 10px rgba(0,0,0,.1);
}
.title h2 {
position: relative;
margin: 20px 0 0;
padding: 0;
color: #fff;
font-size: 28px;
z-index: 2;
}
.price {
position: relative;
z-index: 2;
}
.price h4 {
margin: 0;
padding: 20px 0;
color: #fff;
font-size: 60px;
}
.option {
position: relative;
z-index: 2;
}
.option ul {
margin: 0;
padding: 0;
}
.option ul li {
margin: 0 0 10px;
padding: 0;
list-style: none;;
color: #fff;
font-size: 16px;
}
.card a {
position: relative;
z-index: 2;
background: #fff;
color: #000;
width: 150px;
height: 40px;
line-height: 40px;
border-radius: 40px;
display: block;
text-align: center;
margin: 20px auto 0;
font-size: 16px;
cursor: pointer;
text-decoration: none;
box-shadow: 0 5px 10px rgba(0,0,0,.1);
}
.card a:hover {
text-decoration: none;
}