HTML AND CSS, YouTube

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: https://www.youtube.com/watch?v=AUQQ5WBXtPw 

➡️ how to create css gradient box shadow: https://www.youtube.com/watch?v=8oaLBBhLNi0 

➡️ Sticky Navigation Bar On Scroll Using Vanilla Javascript: https://www.youtube.com/watch?v=XQJSc–XgO8

➡️ How to Download Source code in Coding BD: https://www.youtube.com/watch?v=WXAZ-BScKBE&t=3s  

➡️Responsive website html css javascript | part( 1 ): https://www.youtube.com/watch?v=g0ART2Jc3yw&t=3s 

➡️ Responsive Services Section:  https://www.youtube.com/watch?v=wvLkyrkoS_w&t=69s 

➡️ Plane animation only html css: https://www.youtube.com/watch?v=XcYlfp8sFX0 

➡️ CSS Responsive CARD Hover Effects & Adding Stroke to Text | Html5 CSS3 2021: https://www.youtube.com/watch?v=QVMJ5PdX7Ag&t=14s 

➡️  Neon Light Button Animation Effects on Hover | CSS Snake Border: https://www.youtube.com/watch?v=GtVSF-efdJQ&t=102s 

➡️ Responsive Box Model Web Design Using CSS Flexbox: https://www.youtube.com/watch?v=03RuVB6B5KQ&t=0s 

➡️ Digital Clock with Animated Progress-bar | HTML CSS & Vanilla Javascript:  https://www.youtube.com/watch?v=6A6HpxMmfX4&t=0s 

➡️ How to create a light to dark mode for HTML CSS & Vanilla Javascript 2021: https://www.youtube.com/watch?v=43FbR6ailIk&t=28s 

➡️ Scroll top button : https://www.youtube.com/watch?v=9fDEJkXQIIs&t=77s

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">

<head>
    <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="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="style.css">
</head>

<body>
    <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>
                    <div class="login_field">
                        <i class="login__icon fa fa-lock"></i>
                        <input type="password" class="login__input" placeholder="Password">
                    </div>
                    <div class="button login__submit">
                        <span class="button__text">Login Now</span>
                        <i class="button__icon fa fa-chevron-right"></i>
                    </div>
                </form>
                <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>
                </div>
            </div>
            <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>
            </div>
        </div>
    </div>
</body>

</html>
@import url("https://fonts.googleapis.com/css?family=Raleway:400,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

YouTube: https://www.youtube.com/c/CodingBD

Facebook Page: https://www.facebook.com/codingbd2021

LinkedIn: https://www.linkedin.com/in/sajjat8383

GitHub: https://github.com/cgsaleh8383

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

Leave a Reply

Your email address will not be published. Required fields are marked *