-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.css
More file actions
169 lines (152 loc) · 3.91 KB
/
app.css
File metadata and controls
169 lines (152 loc) · 3.91 KB
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
/* Go to google and search css reset and copy this code to css file*/
/* css reset will undo every deault styling of the browser so that different browsers doesn't get different styling */
/* Below is the css reset code */
/* ----------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* ----------------------------------------------------- */
html{
box-sizing: border-box;
font-family: 'Open Sans', sans-serif;
}
body{
background-color: #60a9ff;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.panel{
background-color: white;
border-radius: 10px;
padding: 15px 25px;
/* page ka 100% lega */
width: 100%;
/* but max width iska 960px hi rhega */
max-width: 960px;
display: flex;
/* styling humlog as a mobile display ko soch ke kr rhe hai baad me specific width ke liye row styling me change ho jaega */
flex-direction: column;
text-align: center;
text-transform: uppercase;
}
.pricing-plan{
/* har pricing plan class ke baad border lag jaega */
border-bottom: 1px solid #e1f1ff;
}
.pricing-plan:last-child{
/* last waale ke baad ka border hta denge kyuki achha nhi lgega dikhne me */
border-bottom: none;
}
.pricing-img{
margin-bottom: 25px;
max-width: 100%;
}
.pricing-header{
color: #888;
font-weight: 600;
letter-spacing: 1px;
}
.pricing-features{
margin: 50px 0 25px;
color: #016ff9;
}
.pricing-features-item{
font-weight: 600;
letter-spacing: 1px;
font-size: 12px;
line-height: 1.5;
padding: 15px;
border-top: 1px solid #e1f1ff;
}
.pricing-features-item:last-child{
border-bottom: 1px solid #e1f1ff;
}
.pricing-price{
color: #016ff9;
display: block;
font-size: 32px;
font-weight: 700;
}
.pricing-button {
border: 1px solid #9dd1ff;
border-radius: 10px;
color: #348efe;
display: inline-block;
padding: 15px 35px;
text-decoration: none;
cursor: pointer;
margin: 25px 0;
transition: background-color 200ms ease-in-out;
}
.pricing-button:hover, .pricing-button:focus{
background-color: #e1f1ff;
}
.pricing-button.is-featured{
background-color: #48aaff;
color: white;
}
/* focus krne se kya hota hai */
/* jab button pe click kroge to hover waala hi affect laga rhega jab tak kahi aur click nhi krte */
.pricing-button.is-featured:hover, .pricing-button.is-featured:focus{
background-color: #269aff;
color: white;
}
/* jab width 900px ya usse bda hoga to below styling lgega */
@media(min-width: 900px) {
.panel{
flex-direction: row;
}
.pricing-plan{
/* jab column se row me change hoga to extra border niche aa jaega */
/* usko hatane ke liye border bottom one krenge */
border-bottom: none;
border-right: 1px solid #e1f1ff;
padding: 25px 50px;
}
/* last wale ka right border hta denge kyuki achha nhi lgega */
.pricing-plan:last-child{
border-right: none;
}
}