-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodern-pricing-table-design-with-bootstrap4.html
170 lines (152 loc) · 5.25 KB
/
modern-pricing-table-design-with-bootstrap4.html
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Beautiful Pricing Table</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<style>
@import url("https://fonts.googleapis.com/css?family=Montserrat");
.pricing-table{
background-color: #eee;
font-family: 'Montserrat', sans-serif;
}
.pricing-table .block-heading {
padding-top: 50px;
margin-bottom: 40px;
text-align: center;
}
.pricing-table .block-heading h2 {
color: #3b99e0;
}
.pricing-table .block-heading p {
text-align: center;
max-width: 420px;
margin: auto;
opacity: 0.7;
}
.pricing-table .heading {
text-align: center;
padding-bottom: 10px;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.pricing-table .item {
background-color: #ffffff;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.075);
border-top: 2px solid #5ea4f3;
padding: 30px;
overflow: hidden;
position: relative;
}
.pricing-table .col-md-5:not(:last-child) .item {
margin-bottom: 30px;
}
.pricing-table .item button {
font-weight: 600;
}
.pricing-table .ribbon {
width: 160px;
height: 32px;
font-size: 12px;
text-align: center;
color: #fff;
font-weight: bold;
box-shadow: 0px 2px 3px rgba(136, 136, 136, 0.25);
background: #4dbe3b;
transform: rotate(45deg);
position: absolute;
right: -42px;
top: 20px;
padding-top: 7px;
}
.pricing-table .item p {
text-align: center;
margin-top: 20px;
opacity: 0.7;
}
.pricing-table .features .feature {
font-weight: 600; }
.pricing-table .features h4 {
text-align: center;
font-size: 18px;
padding: 5px;
}
.pricing-table .price h4 {
margin: 15px 0;
font-size: 45px;
text-align: center;
color: #2288f9;
}
.pricing-table .buy-now button {
text-align: center;
margin: auto;
font-weight: 600;
padding: 9px 0;
}
</style>
</head>
<body>
<section class="pricing-table">
<div class="container">
<div class="block-heading">
<h2>Pricing Table</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc quam urna, dignissim nec auctor in, mattis vitae leo.</p>
</div>
<div class="row justify-content-md-center">
<div class="col-md-5 col-lg-4">
<div class="item">
<div class="heading">
<h3>BASIC</h3>
</div>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<div class="features">
<h4><span class="feature">Full Support</span> : <span class="value">No</span></h4>
<h4><span class="feature">Duration</span> : <span class="value">30 Days</span></h4>
<h4><span class="feature">Storage</span> : <span class="value">10GB</span></h4>
</div>
<div class="price">
<h4>$25</h4>
</div>
<button class="btn btn-block btn-outline-primary" type="submit">BUY NOW</button>
</div>
</div>
<div class="col-md-5 col-lg-4">
<div class="item">
<div class="ribbon">Best Value</div>
<div class="heading">
<h3>PRO</h3>
</div>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<div class="features">
<h4><span class="feature">Full Support</span> : <span class="value">Yes</span></h4>
<h4><span class="feature">Duration</span> : <span class="value">60 Days</span></h4>
<h4><span class="feature">Storage</span> : <span class="value">50GB</span></h4>
</div>
<div class="price">
<h4>$50</h4>
</div>
<button class="btn btn-block btn-primary" type="submit">BUY NOW</button>
</div>
</div>
<div class="col-md-5 col-lg-4">
<div class="item">
<div class="heading">
<h3>PREMIUM</h3>
</div>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<div class="features">
<h4><span class="feature">Full Support</span> : <span class="value">Yes</span></h4>
<h4><span class="feature">Duration</span> : <span class="value">120 Days</span></h4>
<h4><span class="feature">Storage</span> : <span class="value">150GB</span></h4>
</div>
<div class="price">
<h4>$150</h4>
</div>
<button class="btn btn-block btn-outline-primary" type="submit">BUY NOW</button>
</div>
</div>
</div>
</div>
</section>
</body>
</html>