Skip to main content

How to Create Simple Login Form using HTML and CSS : Source Code

 

Tutorial 4

How to Create Simple Login Form using HTML and CSS - Web Tutorials || Make Login Form : Source Code

  Hey Guys , Welcome To My Blog :- Web Tutorials || Yuvan Art

Full Process To Create Styles Login Form :- Click On The Below Link To Watch Full Process To Create Simple Login Form Using HTML And CSS.






Part ( 1 ) HTML Code :- 


<!-- Simple Login Form - HTML Part -->
<!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="style.css">
</head>
<body>
    <div class="container">
        <form action="post">
            <h1>Login Form</h1>
            <p><b>Email or Phone</b>
            <input type="text" name="user" required>
            </p>
            <p><b>Password</b>
            <input type="password" name="password" id="password">
            <a href="#">Forgot Password</a>
            </p>
            <input type="submit" value="Login">
            <p>Not a Member? <a href="#">Signup Now</a></p>
        </form>
    </div>
</body>
</html>

Part ( 2 ) CSS Code :- 


/* Simple Login Form - CSS Part */
*{
    box-sizingborder-box;
}
body{
    margin0;
    padding0;
    font-familyGeorgia'Times New Roman'Timesserif;
    font-size18px;
}
.container{
    left50%;
    top50%;
    transformtranslate(-50%-50%);
    positionabsolute;
    background-colorwhite;
    border2px solid white;
    width350px;
    padding5px 20px 15px 20px;
    border-radius13px;
    box-shadow5px 5px 3px grey5px 5px 3px greyinset 5px 5px 3px greyinset 5px 5px 3px grey;
}
h1{
    text-aligncenter;
}
input[type="text"],
input[type="password"] {
    width100%;
    padding10px;
    border1px solid #ccc;
    border-radius5px;
    margin5px;
}
input[type="submit"] {
    font-size20px;
    width100%;
    background-colorrgba(29292350.87);
    padding10px 12px;
    bordernone;
    border-radius5px;
    cursorpointer;
    font-weight500;
}
input[type="submit"]:hover{
    background-colorrgba(59947);
}

Thank You !!!

Visit More Tutorials :- 

Comments

Popular posts from this blog

CSS Neon Button with Hover effects using Html and CSS : Source Code

   Tutorial 3 CSS Neon Button with Hover effects using Html and CSS || Web Tutorials : Source Code   Hey Guys , Welcome To My Blog :-  Web Tutorials || Yuvan Art Full Process To Create Styles Button :-  Click On The Below Link To Watch Full Process To Create CSS Neon Button with hover effects using Html and CSS . CSS Neon Button effect on hover using HTML & CSS || CSS Glowing button effects || Web Tutorials Part ( 1 ) HTML Code :-  <!-- CSS Neon Button With Hover Effect - HTML Part --> <! 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" >      < tit...

Styles Table with awesome Hover effect using HTML And CSS : Source Code

  Tutorial 8 Styles Table with awesome Hover effect using HTML And CSS || Web Tutorials : Source Code   Hey Guys , Welcome To My Blog :-   Web Tutorials || Yuvan Art Full Process To Create Styles Table :-  Click On The Below Link To Watch Full Process To Make Styles Table Using HTML And CSS. Styles Table with awesome Hover effect using HTML And CSS || Web Tutorials : Source Code Part ( 1 ) HTML 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 > Styling Table </ title >      < link   rel = "stylesheet"   href = "style.css" > </ head > ...