Creating login form using HTML CSS

 


Youtube link - click here

Source code:

<!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>microsoft login form</title>
    <link href='https://css.gg/microsoft.css' rel='stylesheet'>
    <link href='https://css.gg/key.css' rel='stylesheet'>
    <style>
        body {
            background-image: linear-gradient(to top, #e7eaf6, #f5e1da);
            background-repeat: no-repeat;
            height: 100vh;
        }
       
        .container {
            background-color: white;
            width: 330px;
            padding: 40px;
            margin: 30px auto 0px auto;
            font-family: Verdana, Geneva, Tahoma, sans-serif;
            box-shadow: 0px 0px 4px 1px rgb(202, 202, 202);
        }
       
        .title {
            display: flex;
        }
       
        .gg-microsoft {
            margin-right: 4px;
        }
       
        #text {
            margin: 0px;
            font-weight: bolder;
        }
       
        .sign-in {
            margin: 20px 0px;
            font-size: bold;
            font-size: 20px;
            font-family: sans-serif;
        }
       
        input {
            border: 0px;
            border-bottom: 2px solid black;
            outline: 0;
            width: 100%;
            padding-bottom: 8px;
            line-height: 20px;
        }
       
        a {
            text-decoration: none;
        }
       
        a:hover {
            text-decoration: underline;
        }
       
        .links {
            font-size: 12px;
        }
       
        button {
            color: white;
            background-color: #007cb9;
            outline: 0;
            border: 0;
            padding: 6px;
            width: 100px;
            margin-left: 240px;
        }
       
        .key {
            background-color: white;
            box-shadow: 0px 0px 4px 1px rgb(202, 202, 202);
            margin: 30px auto 0px auto;
            width: 330px;
            padding: 3px 40px;
        }
       
        .gg-key {
            width: 15px;
            height: 15px;
            margin-right: 15px;
            display: inline-block;
        }
       
        .key p {
            display: inline-block;
            letter-spacing: 1px;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="title">
            <i class="gg-microsoft"></i>
            <p id="text">Microsoft</p>
        </div>
        <div class="sign-in">
            sign-in
        </div>
        <div class="input">
            <input type="text" placeholder="Email,phone or skype">
        </div>
        <div class="links">
            <p>No account?<a href="#">Create one!</a></p>
            <p><a href="#">Sign in with Windows Hello or a security key </a></p>
        </div>
        <div class="button">
            <button>Next</button>
        </div>
    </div>
    <div class="key">
        <i class="gg-key"></i>
        <p>Sign-in-options</p>
    </div>
</body>

</html>

Post a Comment

Post a Comment (0)

Previous Post Next Post