Login Page Section Html And Css Black And Red Color

Login Page Section Html And Css


Login Page Section Html And Css Black And Red Color





  

 

<!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>HTML VS CSS</title>
    <style>
        
       

        /* config.css */

        :root {
            --baseColor#000000;
        }

        /* helpers/align.css */

        .align {
            displaygrid;
            place-itemscenter;
        }

        .grid {
            inline-size90%;
            margin-inline: auto;
            max-inline-size20rem;
        }

        /* helpers/hidden.css */

        .hidden {
            border0;
            cliprect(0 0 0 0);
            height1px;
            margin-1px;
            overflowhidden;
            padding0;
            positionabsolute;
            width1px;
        }

        /* helpers/icon.css */

        :root {
            --iconFillvar(--baseColor);
        }

        .icons {
            displaynone;
        }

        .icon {
            block-size1em;
            displayinline-block;
            fillvar(--iconFill);
            inline-size1em;
            vertical-alignmiddle;
        }

        /* layout/base.css */

        :root {
            --htmlFontSize100%;

            --bodyBackgroundColor#000000;
            --bodyColorvar(--baseColor);
            --bodyFontFamily"Open Sans";
            --bodyFontFamilyFallbacksans-serif;
            --bodyFontSize0.875rem;
            --bodyFontWeight400;
            --bodyLineHeight1.5;
        }

        * {
            box-sizinginherit;
        }

        html {
            box-sizingborder-box;
            font-sizevar(--htmlFontSize);
        }

        body {
            background-colorvar(--bodyBackgroundColor);
            colorvar(--bodyColor);
            font-familyvar(--bodyFontFamily), var(--bodyFontFamilyFallback);
            font-sizevar(--bodyFontSize);
            font-weightvar(--bodyFontWeight);
            line-heightvar(--bodyLineHeight);
            margin0;
            min-block-size100vh;
        }

        /* modules/anchor.css */

        :root {
            --anchorColor#eee;
        }

        a {
            colorvar(--anchorColor);
            outline0;
            text-decorationnone;
        }

        a:focus,
        a:hover {
            text-decorationunderline;
        }

        /* modules/form.css */

        :root {
            --formGap0.875rem;
        }

        input {
            background-imagenone;
            border0;
            colorinherit;
            fontinherit;
            margin0;
            outline0;
            padding0;
            transition: background-color 0.3s;
        }

        input[type="submit"] {
            cursorpointer;
        }

        .form {
            displaygrid;
            gapvar(--formGap);
        }

        .form input[type="password"],
        .form input[type="text"],
        .form input[type="submit"] {
            inline-size100%;
        }

        .form__field {
            displayflex;
        }

        .form__input {
            flex1;
        }

        /* modules/login.css */

        :root {
            --loginBorderRadus0.25rem;
            --loginColor#eee;

            --loginInputBackgroundColor#ffffff;
            --loginInputHoverBackgroundColor#434a52;

            --loginLabelBackgroundColor#363b41;

            --loginSubmitBackgroundColor#d30000;
            --loginSubmitColor#eee;
            --loginSubmitHoverBackgroundColor#da0000;
        }

        .login {
            colorvar(--loginColor);
        }

        .login label,
        .login input[type="text"],
        .login input[type="password"],
        .login input[type="submit"] {
            border-radiusvar(--loginBorderRadus);
            padding1rem;
        }

        .login label {
            background-colorvar(--loginLabelBackgroundColor);
            border-bottom-right-radius0;
            border-top-right-radius0;
            padding-inline: 1.25rem;
        }

        .login input[type="password"],
        .login input[type="text"] {
            background-colorvar(--loginInputBackgroundColor);
            border-bottom-left-radius0;
            border-top-left-radius0;
        }

        .login input[type="password"]:focus,
        .login input[type="password"]:hover,
        .login input[type="text"]:focus,
        .login input[type="text"]:hover {
            background-colorvar(--loginInputHoverBackgroundColor);
        }

        .login input[type="submit"] {
            background-colorvar(--loginSubmitBackgroundColor);
            colorvar(--loginSubmitColor);
            font-weight700;
            text-transformuppercase;
        }

        .login input[type="submit"]:focus,
        .login input[type="submit"]:hover {
            background-colorvar(--loginSubmitHoverBackgroundColor);
        }

        /* modules/text.css */

        p {
            margin-block: 1.5rem;
        }

        .text--center {
            text-aligncenter;
        }
    </style>
</head>

<body>

    <body class="align">

        <div class="grid">

            <form action="https://httpbin.org/post" method="POST" class="form login">

                <div class="form__field">
                    <label for="login__username"><svg class="icon">
                            <use xlink:href="#icon-user"></use>
                        </svg><span class="hidden">Username</span></label>
                    <input autocomplete="username" id="login__username" type="text" name="username" class="form__input"
                        placeholder="Username" required>
                </div>

                <div class="form__field">
                    <label for="login__password"><svg class="icon">
                            <use xlink:href="#icon-lock"></use>
                        </svg><span class="hidden">Password</span></label>
                    <input id="login__password" type="password" name="password" class="form__input"
                        placeholder="Password" required>
                </div>

                <div class="form__field">
                    <input type="submit" value="Sign In">
                </div>

            </form>

            <p class="text--center"> <a href="#">Not a member ? Sign up now</a> <svg class="icon">
                    <use xlink:href="#icon-arrow-right"></use>
                </svg></p>

        </div>

        <svg xmlns="http://www.w3.org/2000/svg" class="icons">
            <symbol id="icon-arrow-right" viewBox="0 0 1792 1792">
                <path
                    d="M1600 960q0 54-37 91l-651 651q-39 37-91 37-51 0-90-37l-75-75q-38-38-38-91t38-91l293-293H245q-52 0-84.5-37.5T128 1024V896q0-53 32.5-90.5T245 768h704L656 474q-38-36-38-90t38-90l75-75q38-38 90-38 53 0 91 38l651 651q37 35 37 90z" />
            </symbol>
            <symbol id="icon-lock" viewBox="0 0 1792 1792">
                <path
                    d="M640 768h512V576q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28H416q-40 0-68-28t-28-68V864q0-40 28-68t68-28h32V576q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z" />
            </symbol>
            <symbol id="icon-user" viewBox="0 0 1792 1792">
                <path
                    d="M1600 1405q0 120-73 189.5t-194 69.5H459q-121 0-194-69.5T192 1405q0-53 3.5-103.5t14-109T236 1084t43-97.5 62-81 85.5-53.5T538 832q9 0 42 21.5t74.5 48 108 48T896 971t133.5-21.5 108-48 74.5-48 42-21.5q61 0 111.5 20t85.5 53.5 62 81 43 97.5 26.5 108.5 14 109 3.5 103.5zm-320-893q0 159-112.5 271.5T896 896 624.5 783.5 512 512t112.5-271.5T896 128t271.5 112.5T1280 512z" />
            </symbol>
        </svg>

    </body>
</body>

</html>

How To Use This Cord

steps

  1. Fast One Copy Html File.
  2. Copy CSS File And Past Head Part Top Fo Html File.  
  3. File Save Name.html
  4. Ran Html File 
  5. Ready To Use
Solve This Problem 

  • Html Login Page
  • Css Login Page
  • Html Login Page Template
  • Login And Registration Form In Html
  • Login Page In Html With Css Code
  • Html Code For Login Page With Username And Password
  • Simple Login Page In Html With Css Code
  • Login Page In Html With Css Code With Background Image


The Login Page Allows A User To Gain Access To An Application By Entering Their Username And Password Or By Authenticating Using A Social Media Login.

Sign In. Use Your Google Account. Email Or Phone. Forgot Email? Type The Text You Hear Or See. Not Your Computer? Use Guest Mode To Sign In Privately.

A Login Page Is A Web Page Or An Entry Page To A Website That Requires User Identification And Authentication, Regularly Performed By Entering A Username And Logging In Is Usually Used To Enter A Specific Page, Website Or Application, Which Trespassers Cannot See. Once The User Is Logged In



Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.