How to make Login Page Design using HTML and CSS.[Source Code]
To make this website, you would like to make two files: an HTML file, a CSS file. First, create an HTML file with the name of index.html and remember, you have to create a file with a .html extension.
/**
Hello Future Developer Thanks for Using learningrobo.com,
Check our website Regularly For New Snippets Post.
Share & Support us
**/
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
*{
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
}
.main-content{
display: flex;
flex-direction: row;
height: 100vh;
width: 100vw;
background-color:#2e3345;
}
.main-content .sec1{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
width: 40vw;
}
.main-content .sec1 .logo{
height: 10vh;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
font-size:35px;
color: wheat;
}
.credit a {
text-decoration: none;
color: white;
font-weight: 800;
}
.credit {
height: 10vh;
color: white;
text-align: center;
font-family: Verdana,Geneva,Tahoma,sans-serif;
}
.credit span{
color:red;
font-size:20px;
}
.main-content .sec2{
display: flex;
flex-direction: column;
height: 100vh;
width: 60vw;
background-color:#1F222C;
clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}
.main-content .sec2 .header{
display: flex;
height: 8vh;
width: 100%;
align-items: flex-end;
justify-content: flex-end;
padding-right: 30px;
}
.main-content .sec2 .header ul{
height: 100%;
width: 100%;
display: flex;
align-items: flex-end;
justify-content: flex-end;
}
.main-content .sec2 .header ul li{
color: white;
list-style: none;
height: 90%;
width: 10%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 14px;
}
.main-content .sec2 .header ul li:hover{
background-color: #2e3345;
border-radius: 40px;
}
.main-content .sec2 .login{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 92vh;
width: 100%;
padding-left: 100px;
}
.main-content .sec2 .login .head1{
display: flex;
align-items: center;
justify-content: center;
height: 15vh;
width: 100%;
color: white;
font-size: 30px;
}
.main-content .sec2 .login .input{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 20vh;
width: 100%;
gap: 60px;
}
.main-content .sec2 .login .input input{
height: 10vh;
width: 25vw;
border-radius: 40px;
padding: 15px;
background-color:#1F222C;
border: 1px solid white;
color: white;
}
.main-content .sec2 .login .input input::placeholder{
color: white;
font-size: 14px;
}
.main-content .sec2 .login .buttons{
height: 35vh;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
}
.main-content .sec2 .login .buttons .fpass{
display: flex;
align-items: center;
justify-content:center;
color: lightskyblue;
height: 6vh;
width: 100%;
cursor: pointer;
font-size: 14px;
}
.main-content .sec2 .login .buttons button{
height: 6vh;
width: 15vw;
background: #25D366;
border-radius: 20px;
font-size: 18px;
cursor: pointer;
}
.main-content .sec2 .login .buttons .register{
display: flex;
align-items: center;
justify-content:center;
color: lightskyblue;
height: 6vh;
width: 100%;
cursor: pointer;
font-size: 14px;
}
.main-content .sec2 .login .buttons span{
color: white;
}
.main-content .sec2 .login .buttons .link{
display: flex;
height: 6vh;
width: 100%;
align-items: center;
justify-content: center;
gap: 20px;
}
.main-content .sec2 .login .buttons .link a i{
font-size: 45px;
}
Thank you for reading our blog. If you face any problem in Creating a Login Page Design using HTML and CSS., then contact us or comment to us. We’ll try to provide a solution to your problem as soon as possible.
Explore
Press The Key ' p ' and say ' read article ' our voice assistant read our article.
In Our older post it doesnot work we working on that.
In Our older post it doesnot work we working on that.
Post a Comment
Thank you
Learning robo team