Responsive Login Form Using HTML and CSS

0

Responsive Login Form Using HTML and CSS


Would you like to create a login form using only HTML and CSS programming languages?

 If your answer is yes, I will help you create an animation login form.

 This login form is basically made using HTML and CSS programming language which is very simple and straightforward. This login form will fully help you to learn and know how to create an animation login form. The code used here is very easy for you to learn and know very well. The login form is one of the most important parts of web design and web development. It is very important to know a computer engineer or a web designer. The login form is basically the gateway to access your account on any website. For example, suppose you have created your own account on a website and want to log in or log in to that account. For that, you have to go through your entrance with your user ID and password. This is why a login form is used. A professional login form helps to increase the quality of a site a lot. With all this in mind, I have come up with this professional and fully responsive login form for you. Which is made only with the help of HTML and CSS programming languages.


how to create a Professional and Responsive Login


Some special information about this login form

1. This login form is a fully professional and responsive login form created using only HTML and CSS programming languages.

2. It is fully responsive, which means it can adapt itself to a variety of devices. Which is very necessary for a professional login form.

3. It has been made Responsive Some special code has been used, an example of which I have given below.

4. This form has been made responsive using the following codes.

@media (max-width980px) {
  .box-form {
    flex-flowwrap;
    text-aligncenter;
    align-contentcenter;
    align-itemscenter;
  }
}
.box-form div {
  heightauto;
}
.box-form .left {
  color#FFFFFF;
  background-sizecover;
  background-repeatno-repeat;
  background-imageurl("https://i.pinimg.com/736x/5d/73/ea/5d73eaabb25e3805de1f8cdea7df4a42--tumblr-backgrounds-iphone-phone-wallpapers-iphone-wallaper-tumblr.jpg");
  overflowhidden;
}
 
.box-form .left .overlay {
  padding30px;
  width100%;
  height100%;
  background#5961f9ad;
  overflowhidden;
  box-sizingborder-box;
}
.box-form .left .overlay h1 {
  font-size10vmax;
  line-height1;
  font-weight900;
  margin-top40px;
  margin-bottom20px;
.box-form .left .overlay span p {
  margin-top30px;
  font-weight900;
}
.box-form .left .overlay span a {
  background#3b5998;
  color#FFFFFF;
  margin-top10px;
  padding14px 50px;
  border-radius100px;
  displayinline-block;
  box-shadow0 3px 6px 1px #042d4657;
}
 
.box-form .left .overlay span a:last-child {
  background#1dcaff;
  margin-left30px;
}
.box-form .right {
  padding40px;
  overflowhidden;
}

5. Here you can log in by clicking on the login button with your user ID and password.

6. This is a very nice and professional login form which is designed in a very beautiful and colorful way. In addition, there is the option of creating an account, which means that if any of your users do not have an account, he can create an account. There are also options to share on social media such as Facebook and Twitter.

Common and simple programming languages ​​such as HTML and CSS programming code have been used to create this login form. Which will help you to fully learn and know how to create a Professional Responsive Login Form. You can download all the code by clicking on the download button above. For your convenience, all the programming codes used in this form are given below. You can copy the codes and use them on your website or personal project. Here's how to use this code in your project. You can follow this instruction and attach this login form to your website or project.

How To Create HTML Login Form Using Code

Hopefully from the video above you can fully understand how to make and work this transparent login form. If you want to try this code yourself, you can. That is why I have given the source code below. First of all, you create an HTML file (rename.html) and a CSS file (rename.css). Then you put the HTML code in the HTML file and the CSS code in the CSS file. Be sure to link the HTML and cis code to each other (<link rel="stylesheet" href="sidebar.css">).



 

I would especially request you not to copy the codes below, but to download by clicking on the download button above. Because when I uploaded these codes, I had some problems with Google. So I added some comments to it. If you wish to use these codes, you may omit these comments. If you do not interrupt, there will be no problem, meaning the comments used here will not change your coding or programming.




HTML TAGS (<body> Add Code </body>)

This code is an HTML code (rename.html). Put this code in the head tags of your project and also in the head tags in the HTML file.


<div class="box-form">
  <div class="left">
    <div class="overlay">
    <h1>Hello World.</h1>
    <!-- <div class="card">
    <div class="left">
      <img src="https://www.dropbox.com/s/e928cht0h5crcn4/shoe.png?raw=1" alt="shoe">
      <i class="fa fa-long-arrow-left"></i>
      <i class="fa fa-long-arrow-right"></i>
    </div>-->
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    Curabitur et est sed felis aliquet sollicitudin</p>
    <span>
      <p>login with social media</p>
      <a href="#"><i class="fa fa-facebook" aria-hidden="true"></i></a>
      <a href="#"><i class="fa fa-twitter" aria-hidden="true"></i> Login with Twitter</a>
    </span>
    </div>
  </div>
  
   <!-- <div class="card">
    <div class="left">
      <img src="https://www.dropbox.com/s/e928cht0h5crcn4/shoe.png?raw=1" alt="shoe">
      <i class="fa fa-long-arrow-left"></i>
      <i class="fa fa-long-arrow-right"></i>
    </div>-->
    <div class="right">
    <h5>Login</h5>
    <p>Don't have an account? <a href="#">Creat Your Account</a> it takes less than a minute</p>
    <div class="inputs">
      <input type="text" placeholder="user name">
      <br>
       <!-- <div class="card">
    <div class="left">
      <img src="https://www.dropbox.com/s/e928cht0h5crcn4/shoe.png?raw=1" alt="shoe">
      <i class="fa fa-long-arrow-left"></i>
      <i class="fa fa-long-arrow-right"></i>
    </div>-->
      <input type="password" placeholder="password">
    </div>
      
      <br><br>
      
    <div class="remember-me--forget-password">
        <!-- Angular -->
  <label>
    <input type="checkbox" name="item" checked/>
    <span class="text-checkbox">Remember me</span>
  </label>
      <p>forget password?</p>
    </div>
       <!-- <div class="card">
    <div class="left">
      <img src="https://www.dropbox.com/s/e928cht0h5crcn4/shoe.png?raw=1" alt="shoe">
      <i class="fa fa-long-arrow-left"></i>
      <i class="fa fa-long-arrow-right"></i>
    </div>-->
      <br>
       <button>Login</button> 
  </div>
  
</div>


CSS CODE (<head><style> Add code</style></head>)

This code is a CSS code (rename.css). You enter this code in the style tags in the head tags of your project. Also, you put in the style tags in the CSS file.


 body {
  background-imagelinear-gradient(135deg#FAB2FF 10%#1904E5 100%);
  background-sizecover;
  background-repeatno-repeat;
  background-attachmentfixed;
  font-family"Open Sans"sans-serif;
  color#333333;
}
/*  color: white;
  position: relative;
  left: -10px;
  font-family: 'Lato';*/
.box-form {
  margin0 auto;
  width80%;
  background#FFFFFF;
  border-radius10px;
  overflowhidden;
  displayflex;
  flex1 1 100%;
  align-itemsstretch;
  justify-contentspace-between;
  box-shadow0 0 20px 6px #090b6f85;
}/*min-height: 100vh;
  padding: 2rem 0;
  background: #40424a;
  color: #e4e4e8;*/
@media (max-width980px) {
  .box-form {
    flex-flowwrap;
    text-aligncenter;
    align-contentcenter;
    align-itemscenter;
  }
}
.box-form div {
  heightauto;
}
.box-form .left {
  color#FFFFFF;
  background-sizecover;
  background-repeatno-repeat;
  background-imageurl("https://i.pinimg.com/736x/5d/73/ea/5d73eaabb25e3805de1f8cdea7df4a42--tumblr-backgrounds-iphone-phone-wallpapers-iphone-wallaper-tumblr.jpg");
  overflowhidden;
}
/*  color: white;
  position: relative;
  left: -10px;
  font-family: 'Lato';*/
.box-form .left .overlay {
  padding30px;
  width100%;
  height100%;
  background#5961f9ad;
  overflowhidden;
  box-sizingborder-box;
}
.box-form .left .overlay h1 {
  font-size10vmax;
  line-height1;
  font-weight900;
  margin-top40px;
  margin-bottom20px;
}/*min-height: 100vh;
  padding: 2rem 0;
  background: #40424a;
  color: #e4e4e8;*/
.box-form .left .overlay span p {
  margin-top30px;
  font-weight900;
}
.box-form .left .overlay span a {
  background#3b5998;
  color#FFFFFF;
  margin-top10px;
  padding14px 50px;
  border-radius100px;
  displayinline-block;
  box-shadow0 3px 6px 1px #042d4657;
}
/*  color: white;
  position: relative;
  left: -10px;
  font-family: 'Lato';*/
.box-form .left .overlay span a:last-child {
  background#1dcaff;
  margin-left30px;
}
.box-form .right {
  padding40px;
  overflowhidden;
}
@media (max-width980px) {
  .box-form .right {
    width100%;
  }
}/*min-height: 100vh;
  padding: 2rem 0;
  background: #40424a;
  color: #e4e4e8;*/
.box-form .right h5 {
  font-size6vmax;
  line-height0;
}
.box-form .right p {
  font-size14px;
  color#B0B3B9;
}
.box-form .right .inputs {
  overflowhidden;
}/*min-height: 100vh;
  padding: 2rem 0;
  background: #40424a;
  color: #e4e4e8;*/
.box-form .right input {
  width100%;
  padding10px;
  margin-top25px;
  font-size16px;
  bordernone;
  outlinenone;
  border-bottom2px solid #B0B3B9;
}/*  color: white;
  position: relative;
  left: -10px;
  font-family: 'Lato';*/
.box-form .right .remember-me--forget-password {
  displayflex;
  justify-contentspace-between;
  align-itemscenter;
}
.box-form .right .remember-me--forget-password input {
  margin0;
  margin-right7px;
  widthauto;
}/*min-height: 100vh;
  padding: 2rem 0;
  background: #40424a;
  color: #e4e4e8;*/
.box-form .right button {
  floatright;
  color#fff;
  font-size16px;
  padding12px 35px;
  border-radius50px;
  displayinline-block;
  border0;
  outline0;
  box-shadow0px 4px 20px 0px #49c628a6;
  background-imagelinear-gradient(135deg#70F570 10%#49C628 100%);
}

label {
  displayblock;
  positionrelative;
  margin-left30px;
}
/*min-height: 100vh;
  padding: 2rem 0;
  background: #40424a;
  color: #e4e4e8;*/
label::before {
  content\f00c';
  positionabsolute;
  font-family: FontAwesome;
  backgroundtransparent;
  border3px solid #70F570;
  border-radius4px;
  colortransparent;
  left-30px;
  transitionall 0.2s linear;
}

label:hover::before {
  font-family: FontAwesome;
  content\f00c';
  color#fff;
  cursorpointer;
  background#70F570;
}

label:hover::before .text-checkbox {
  background#70F570;
}
/*min-height: 100vh;
  padding: 2rem 0;
  background: #40424a;
  color: #e4e4e8;*/
label span.text-checkbox {
  displayinline-block;
  heightauto;
  positionrelative;
  cursorpointer;
  transitionall 0.2s linear;
}
/*  color: white;
  position: relative;
  left: -10px;
  font-family: 'Lato';*/
label input[type="checkbox"] {
  displaynone;
}



Hopefully, the above article has helped you to fully understand and understand how to create a Professional and Responsive Login form. Hopefully, they got their sure answer from this article. If you encounter any problems while creating this login form, you can definitely let me know in the comments. I will help you to create this login form. Special thanks to you for reading the articles to the end.


❤Sharing is caring❤





Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.
Post a Comment (0)
To Top