How To Create Login Form In HTML and CSS

In tutorial you will learn How To Create Login Form In HTML and CSS coding, subscribe codingbd channel to watch more videos on website designing tutorials for beginners.

First, I highly recommend you to watch the video and then look for the code and try to do it by yourself. And use the code for reference.

😍😍 If You like this video Please like, share and subscribe This video.😍😍

😍😍 Check Others Programming Video👇

➡️ css image hover animation effects | pure css hover animation: 

➡️ how to create css gradient box shadow: 

➡️ Sticky Navigation Bar On Scroll Using Vanilla Javascript:–XgO8

➡️ How to Download Source code in Coding BD:  

➡️Responsive website html css javascript | part( 1 ): 

➡️ Responsive Services Section: 

➡️ Plane animation only html css: 

➡️ CSS Responsive CARD Hover Effects & Adding Stroke to Text | Html5 CSS3 2021: 

➡️  Neon Light Button Animation Effects on Hover | CSS Snake Border: 

➡️ Responsive Box Model Web Design Using CSS Flexbox: 

➡️ Digital Clock with Animated Progress-bar | HTML CSS & Vanilla Javascript: 

➡️ How to create a light to dark mode for HTML CSS & Vanilla Javascript 2021: 

➡️ Scroll top button :

Here is all Source code ( How To Create Login Form In HTML and CSS ). You can follow this steps:

  1. Create 1 folder
  2. create 1 HTML file: index.html
  3. create 1 CSS file: style.css
  4. See Full video and write HTML code and copy CSS code and past CSS file
  5. Now give a smile and jump out loud. 😍😍
<!DOCTYPE html>
<html lang="en">

    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Login Form</title>
    <link rel="stylesheet" href="">
    <link rel="stylesheet" href="style.css">

    <div class="container">
        <div class="screen">
            <div class="screen_content">
                <form class="login">
                    <div class="login_field">
                        <i class="login__icon fa fa-user"></i>
                        <input type="text" class="login__input" placeholder="User name / Email">
                    <div class="login_field">
                        <i class="login__icon fa fa-lock"></i>
                        <input type="password" class="login__input" placeholder="Password">
                    <div class="button login__submit">
                        <span class="button__text">Login Now</span>
                        <i class="button__icon fa fa-chevron-right"></i>
                <div class="social-login">
                    <h3>Login via</h3>
                    <div class="social_icons">
                        <a href="#" class="social_login_icon fa fa-instagram"></a>
                        <a href="#" class="social_login_icon fa fa-facebook"></a>
                        <a href="#" class="social_login_icon fa fa-twitter"></a>
            <div class="screen__background">
                <span class="screen__background_shape screen__background_shape4"></span>
                <span class="screen__background_shape screen__background_shape3"></span>
                <span class="screen__background_shape screen__background_shape2"></span>
                <span class="screen__background_shape screen__background_shape1"></span>

@import url(",700");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Raleway, sans-serif;

body {
  background: linear-gradient(90deg, #c7c5f4, #776bcc);

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;

.screen {
  background: linear-gradient(90deg, #5d54a4, #7c78b8);
  position: relative;
  height: 600px;
  width: 360px;
  box-shadow: 0 0 24px #5c5696;

.screen_content {
  z-index: 1;
  position: relative;
  height: 100%;

.screen__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);

.screen__background_shape {
  transform: rotate(45deg);
  position: absolute;

.screen__background_shape1 {
  height: 520px;
  width: 520px;
  background: #fff;
  top: -50px;
  right: 120px;
  border-radius: 0 72px 0 0;

.screen__background_shape2 {
  height: 220px;
  width: 220px;
  background: #6c63ac;
  top: -172px;
  right: 0;
  border-radius: 32px;

.screen__background_shape3 {
  width: 190px;
  height: 540px;
  background: linear-gradient(270deg, #5d54a4, #6a679e);
  top: -24px;
  right: 0;
  border-radius: 32px;

.screen__background_shape4 {
  height: 400px;
  width: 200px;
  background: #7e7bb9;
  top: 420px;
  right: 50px;
  border-radius: 60px;

.login {
  width: 320px;
  padding: 30px;
  padding-top: 156px;

.login_field {
  padding: 20px 0;
  position: relative;

.login__icon {
  position: absolute;
  top: 30px;
  color: #7875b5;

.login__input {
  border: none;
  border-bottom: 2px solid #d1d1d4;
  background: none;
  padding: 10px;
  outline: none;
  width: 75%;
  padding-left: 24px;
  font-weight: 700;
  transition: 0.2s;

.login__submit {
  background: #fff;
  font-size: 14px;
  margin-top: 30px;
  padding: 16px 20px;
  border-radius: 26px;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #4c489d;
  box-shadow: 0 2px 2px #5c5696ca;
  letter-spacing: 2px;
  cursor: pointer;

.social-login {
  position: absolute;
  height: 140px;
  width: 160px;
  text-align: center;
  bottom: 0;
  right: 0;
  color: #fff;

.social_icons {
  display: flex;
  justify-content: center;
  align-items: center;

.social_login_icon {
  padding: 20px 10px;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 0 8px #7875b5;
  transition: 0.5s;

.social_login_icon:hover {
  transform: scale(1.3);

Don’t Forget to Follow me on all Social Network


Facebook Page:



You can see How to create Magic Card using html and CSS

Leave a Reply

Your email address will not be published.