FACEBOOK Login Page
Today i am going to share about my new project. Facebook login page at first it look easy but as a beginner its bit tough to maintain the div and its class
Source code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
main{
border: 1px solid;
height: 90vh;
display: grid;
grid-template-columns: 2fr 1fr;
}
body{
/* border: 3px solid yellow; */
}
footer{
border: 1px solid black;
height: 10vh;
}
.left{
/* border: 1px solid red; */
display: grid;
grid-template-columns: 1fr 1fr;
}
.right{
border: 1px solid green;
display: flex;
flex-direction: column;
margin: auto;
gap: 30px;
width: 50vh;
}
.logo{
/* border: 1px solid violet; */
display: flex;
flex-direction: column;
justify-content:space-between ;
padding: 25px;
}
.image{
/* border: 1px solid indigo; */
}
img{
width: 100px;
height: 100px;
}
h1{
font-size: 74px;
width: 50%;
}
.image img{
width: 90vh;
height: 90vh;
/* border: 1px solid black; */
}
span{
color: blue;
}
</style>
</head>
<body>
<main>
<div class="left">
<div class="logo">
<img src="https://thf.bing.com/th/id/OIP._6VkGA8hbkjwvRaUbavwVAHaHa?w=190&h=190&c=7&r=0&o=7&cb=thfc1falcon2&dpr=1.3&pid=1.7&rm=3" alt="Sorry">
<h1>Explore the things <span>you love</span>.</h1>
</div>
<div class="image">
<img src="https://static.xx.fbcdn.net/rsrc.php/yB/r/83zWJdc6PJI.webp" alt="Oops">
</div>
</div>
<div class="right">
<h4>Log in to Facebook</h4>
<input type="Email address or mobile number">
<input type="password">
<button>Log in</button>
<button>Forgotten password</button>
<button>Create new account</button>
</div>
</main>
</body>
<footer>
</footer>
</html>
I am not complete it, but today i use some new Tags like <input type="Text">,<button> and <span>
Top comments (0)