-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSub.css
133 lines (112 loc) · 2.08 KB
/
Sub.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
130
131
132
133
:root {
--light: rgb(242, 241, 241);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: sans-serif;
}
body {
height: 100vh;
background: linear-gradient(to bottom, rgba(0,0,0,0), #151515), url(img/bgimage.jpeg);
}
a {
text-decoration: none;
}
section {
display: flex;
justify-content: center;
min-height: 100vh;
align-items: center;
margin: 1rem 0;
}
.pricing-card {
background: linear-gradient(45deg, #37afea 0%, #5583f1 100%);
box-shadow: 0 3px 10px rgb(16, 29, 53);
width: 25%;
max-width: 300px;
height: 500px;
border-radius: 4px;
transition: all 0.3s ease-out;
}
.pricing-card:nth-child(2) {
background: #25262d;
margin: 0 2rem;
height: 540px;
}
.pricing-card:hover {
transform: scale(1.03);
}
.pricing-card>div {
display: flex;
flex-direction: column;
padding: 24px;
align-items: center;
color: var(--light);
}
.pricing-card>div h3 {
margin-bottom: 5px;
font-size: 24px;
}
.pricing-card>div h4 {
font-size: 40px;
}
.pricing-card div p {
font-size: 14px;
margin-bottom: 24px;
}
.pricing-card>div ul {
margin: 12px 0 32px;
list-style: none;
display: flex;
flex-direction: column;
align-items: center;
}
.pricing-card>div ul li {
margin-bottom: 10px;
}
svg {
width: 60px;
margin: 2rem 0;
}
.btn {
padding: 12px 0;
cursor: pointer;
width: 80%;
font-size: 24px;
text-align: center;
border: none;
border-radius: 8px;
transition: border-radius 0.5s;
}
.btn:hover {
border-radius: 0px;
}
.blue {
background-color: #3062d5;
color: var(--light);
}
.primary {
background-color: #25262d;
color: var(--light);
}
/*media query*/
@media screen and (max-width:960px) {
.pricing-card {
width: 30%;
}
.pricing-card:nth-child(2) {
margin: 0 1rem;
}
}
@media only screen and (max-width: 768px) {
section {
justify-content: flex-start;
flex-direction: column;
}
.pricing-card {
margin: 1rem 0;
width: 50%;
}
}