Description:- Hello everyone! In this video, you are going to learn "How to create '' Login Page - Using HTML & CSS " .
Let's see!
First, try it by following the video tutorial !
VIDEO
Result -
Login Page - Using HTML & CSS
You Might Also Like ➝
All the source codes are available to download from here. Copy and paste the code from the text editors. First, try it by following the video tutorial. It will help you to understand all of it. After that, if you have got something wrong with your code use the given source codes to compare with yours. It will help you to understand all of it and your mistakes.
Source code:- Login Page - Using HTML & CSS HTML
CSS
* {
outline: none;
}
body {
margin: 8px;
background-color: #f1496a;
}
body,
input,
button {
font-family: "Muli", sans-serif;
}
#cover {
width: 722px;
height: 522px;
padding: 45px;
margin: 0 auto;
}
#form-ui,
form,
#close-form {
position: relative;
}
form {
width: 262px;
height: 472px;
padding: 25px;
background-color: #fff;
box-shadow: 0px 15px 60px #b6354e;
border-radius: 20px;
}
#close-form {
position: absolute;
top: 23px;
right: 25px;
width: 24px;
height: 24px;
cursor: pointer;
}
#close-form:before,
#close-form:after {
content: "";
position: absolute;
top: -2px;
left: 10px;
width: 5px;
height: 28px;
background-color: rgba(0, 0, 0, 0.06);
border-radius: 10px;
}
#close-form:before {
transform: rotateZ(-45deg);
}
#close-form:after {
transform: rotateZ(45deg);
}
#form-body {
position: absolute;
top: 50%;
right: 25px;
left: 25px;
width: 230px;
margin: -156px auto 0 auto;
}
#welcome-lines {
text-align: center;
line-height: 1;
}
#w-line-1 {
color: #7f7f7f;
font-size: 40px;
}
#w-line-2 {
color: #9c9c9c;
font-size: 28px;
margin-top: 17px;
}
#input-area {
margin-top: 40px;
}
.f-inp {
padding: 11px 25px;
border: 1px solid #e3e3e3;
line-height: 1;
border-radius: 20px;
}
.f-inp:first-child {
margin-bottom: 15px;
}
.f-inp input {
width: 100%;
font-size: 13.4px;
padding: 0;
margin: 0;
border: 0;
}
.f-inp input::placeholder {
color: #b9b9b9;
}
#submit-button-cvr {
margin-top: 20px;
}
#submit-button {
display: block;
width: 100%;
color: #fff;
font-size: 14px;
margin: 0;
padding: 14px 13px 12px 13px;
border: 0;
background-color: #f5506e;
border-radius: 25px;
line-height: 1;
cursor: pointer;
}
#forgot-pass {
text-align: center;
margin-top: 10px;
}
#forgot-pass a {
color: #868686;
font-size: 12px;
text-decoration: none;
}
#bar {
position: absolute;
left: 50%;
bottom: -50px;
width: 28px;
height: 8px;
margin-left: -33px;
background-color: #dfdfdf;
border-radius: 10px;
}
#bar:before,
#bar:after {
content: "";
position: absolute;
width: 8px;
height: 8px;
background-color: #ececec;
border-radius: 50%;
}
#bar:before {
right: -20px;
}
#bar:after {
right: -38px;
}
#img-box {
position: absolute;
top: 50%;
left: 312px;
width: 394px;
height: 475px;
margin-top: -237.5px;
padding-right: 16px;
background-color: #fff;
border-radius: 0 20px 20px 0;
overflow: hidden;
}
#img-box img {
display: block;
}
Result -
Login Page - Using HTML & CSS
.
×
NOTE: Make sure that you follow us on Telegram ( our recommendation ). Some drives will be telegram exclusive.
Follow us
full-width
You Might Also Like ➝
Post a Comment