html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http equiv="X-UA Compatible" content="IE=edge">
<meta name="viewport" content="width-device-width, initial scale="1.0">
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
<title>profile card</title>
</head>
<body>
<div class="box1 ">
<form action="">
<h1>Login</h1>
<div class="box2">
<input type="text" placeholder="Username" required>
<i class='bx bxs-user-circle'></i>
</div>
<div class="box2">
<input type="password" placeholder="password" required>
<i class='bx bxs-lock-alt'></i>
</div>
<div class="remember-forgot">
<label><input type="checkbox">remember me</label>
<a href="#">forgot password?</a>
</div>
<button type="submit" class="btn">Login</button>
<div class="register">
<p>Don't have an account?<a href="#">Register</a></p>
css
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
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");
*{
font-family:"Poppins",sans-serif;
margin:0;
padding:0;
box-sizing:border-box;
}
body{
display:flex;
justify-content:center;
align-items:center;
min-height:100vh; background-image:url("https://dl.dropboxusercontent.com/scl/fi/dq26ys1z9hqt1xm8s1z3u/dark-moonlight-night-in-forest-nature-landscape-vector.jpg?rlkey=fes5cq2jg2n8mmviq6dzvirto&dl=0");
background-repeat:no-repeat;
background-attachment:fixed;
background-size:cover;
background-position:center;
}
.box1{
width:340px;
background-color:rgba(0,0,0,0.345);
color:#fff;
border-radius:7px;
padding:30px 40px ;
backdrop-filter:blur(25px);
}
.box1 h1{
js
js
1
2
alert('pls give upvote if u like ')
BROWSER
Console
Run