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-sizing: border-box;
}
body{
    margin: 0;
    padding: 0;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 18px;
}
.container{
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    background-color: white;
    border: 2px solid white;
    width: 350px;
    padding: 5px 20px 15px 20px;
    border-radius: 13px;
    box-shadow: 5px 5px 3px grey, 5px 5px 3px grey, inset 5px 5px 3px grey, inset 5px 5px 3px grey;
}
h1{
    text-align: center;
}
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 5px;
}
input[type="submit"] {
    font-size: 20px;
    width: 100%;
    background-color: rgba(29, 29, 235, 0.87);
    padding: 10px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}
input[type="submit"]:hover{
    background-color: rgba(59, 94, 7);
}

Thank You !!!

Visit More Tutorials :- 

Comments

Popular posts from this blog

How to make Calculator using HTML And CSS : Source Code

Tutorial 6 How to make Calculator using HTML And CSS || Web Tutorials : Source Code   Hey Guys , Welcome To My Blog :-   Web Tutorials || Yuvan Art Full Process To Create Styles Calculator :-  Click On The Below Link To Watch Full Process To Make Calculator Using HTML And CSS. How to make Calculator using HTML And CSS || Web Tutorials 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 > CALCULATOR </ title >      < link   rel = "stylesheet"   href = "style.css" > </ head > < body >      < div   alig...

CSS Neumorphism Button with Hover effects : Source Code

 Tutorial 2 CSS Neumorphism 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 Neumorphism button with hover effects using Html and CSS . CSS Neumorphism button with hover effects || HTML and CSS effects || Web Tutorials Part ( 1 ) HTML Code :-  <!-- CSS Neumorphism 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" >      < title > N...