-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPink_glassmorphism.html
234 lines (220 loc) · 4.46 KB
/
Pink_glassmorphism.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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
<!DOCTYPE html>
<html>
<head>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
margin: 0;
padding: 0;
box-sizing : border-box;
font-family: 'Poppins',sans-serif;
transition: all 0.3s ease;
}
body {
height = 100vh;
width = 100%;
display : flex;
background-image : linear-gradient( 135deg, #ff9a9e 10%, #F6416C 100%);
}
:: selection {
color : #f2f2f2;
background: #f86d8d;
}
body::before,
body::after{
content: '';
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
}
body::before{
clip-path: circle(30% at left 20%);
opacity: 0.4;
background-image: linear-gradient( 135deg, #F6416C 10%, #ff9a9e 100%);
}
body::after{
opacity: 0.4;
clip-path: circle(25% at right 80%);
background-image: linear-gradient( 135deg, #F6416C 10%, #ff9a9e 100%);
}
header{
height: 85vh;
width: 90%;
background: rgba(255, 255, 255, 0.1);
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
border-top: 1px solid rgba(255, 255, 255, 0.5);
border-left: 1px solid rgba(255, 255, 255, 0.5);
backdrop-filter: blur(10px);
z-index: 12;
border-radius: 25px;
margin: auto;
position: relative;
}
header .navbar{
margin: auto;
width: 100%;
padding: 35px 50px;
border-radius: 25px;
display: flex;
justify-content: space-between;
align-items: center;
}
.navbar .menu{
display: flex;
flex-wrap: wrap;
}
.navbar .logo a{
text-decoration: none;
font-size: 22px;
color: #000;
font-weight: 600;
}
.navbar .menu li
{
list-style: none;
margin: 0 6px;
}
.navbar .menu a{
color: #000;
text-decoration: none;
font-size: 17px;
font-weight: 500;
transition: all 0.3s ease;
}
.navbar .menu a:hover
{
color: #f2f2f2;
}
.navbar .buttons input
{
outline: none;
color: #f2f2f2;
font-size: 18px;
font-weight: 500;
border-radius: 12px;
padding: 6px 15px;
border: none;
margin: 0 8px;
cursor: pointer;
transition: all 0.3s ease;
background-image: linear-gradient( 135deg, #ff9a9e 10%, #F6416C 100%);
}
.navbar .buttons input:hover
{
transform: scale(0.78);
}
header .text-content{
width: 60%;
margin: 100px 0 0 50px ;
}
.text-content h2
{
font-size: 27px;
font-weight: 600;
}
.text-content p{
font-size: 15px;
margin-top: 10px;
}
header .play-button{
position: absolute;
right: 50px;
bottom: 40px;
}
.play-button .play
{
font-size: 18px;
font-weight: 500;
}
.play-button .play::before{
content: '';
position: absolute;
height: 3px;
width: 50px;
top: 50%;
transform: translateY(-50%);
left: -58px;
background: #000;
}
.play-button i
{
height: 40px;
width: 40px;
border: 2px solid #000;
line-height: 38px;
text-align: center;
margin-left: 10px;
border-radius: 6px;
cursor: pointer;
}
@media (max-width:850px)
{
header .navbar
{
flex-direction: column;
align-items: center;
justify-content: center;
padding: 15px 5px;
}
.navbar .menu
{
margin: 10px 0 20px 0;
}
header .text-content{
margin: 30px 0 0 20px ;
width: 70%;
}
header .text-content h2{
font-size: 20px;
}
}
@media (max-width:410px) {
header{
height: 100vh;
width: 100%;
border-radius: 0px;
}
header .navbar{
padding: 15px 10px;
}
}
</style>
<html>
<head>
<meta charset="UTF-8">
<title> Glassmorphism Pink Page</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<header>
<nav class="navbar">
<div class="logo"><a href="#">LOGO [^=^]</a></div>
<ul class="menu">
<li><a href="#">Home</a></li>
<li><a href="#">Latest</a></li>
<li><a href="#">Offers</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Contact</a></li>
</ul>
<div class="buttons">
<input type="button" value="LOGIN">
<input type="button" value="REGISTER">
</div>
</nav>
<div class="text-content">
<h2>Learn To Enjoy,<br>Every Moment Of Your Life</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laborum facere in nam, officiis aspernatur consectetur aliquid sequi possimus et. Sint.</p>
</div>
<div class="play-button">
<span class="play">Play Video</span>
<i class="fas fa-play" onclick="click()"></i>
</div>
</header>
</body>
</html>
</body>
</html>