adc

clicks

Neumorphism Login Form UI Design using HTML & CSS

In this video you'll learn how to create a Neumorphism Login Form Design in HTML & CSS. As you know A Login form is used to enter authentication credentials to access a restricted page or form. The login form contains a field for the username and another for the password.

 

 
HTML
Before we start writing code first, we need to create a primary structure of the HTML document, so that the browser can understand and start working. The basic HTML structure looks like the following.
After writing the primary structure of the HTML document, you will also write the tags and content you need. After that, you can see the output in your browser. We know that HTML Sudu Mae is used for exposing content in a basic format. To complete our content we need to use CSS, which is an HTML insert and it creates an engaging user interface.


<!DOCTYPE html>

<html>

<head>

            <title>neomorphism login form </title>

            <link rel="stylesheet" type="text/css" href="style.css">

</head>

<body>

<div class="login_box">

                        <img src="bg.jpg">

                        <h2>Login Member</h2>

            <form>

                        <input type="text" name="" placeholder="Username">

                        <input type="password" name="" placeholder="Password">

                        <button>Sing In</button>

            </form>

</div>

</body>

</html>


CSS

Now, we have time to improve the HTML content, for that, we need to add CSS to the HTML file. CSS can be added to HTML documents in a total of three ways, here we are using outside CSS design using CSS will arrive here after typing and see the output in your browser.


body{

            background:rgba(214,214,214);

            font-family: sans-serif;

}

.login_box{

            width: 350px;

            height: 400px;

            background:rgba(214,214,214);

            margin: 150px auto;

            border-radius: 10px;

            box-shadow: 5px 5px 10px #b6a9a9,-5px -5px 10px white;

 

}

img{

            width: 110px;

            height: 110px;

            position: relative;

            top:-50px;

            left: 35%;

            border-radius: 50%;

}

h2{

            margin: -25px 0 20px 0;

            text-align: center;

            color: black;

}

form{

            margin-left:40px;

}

 

input{

            display: block;

            width: 80%;

            margin-bottom: 20px;

            padding: 10px;

            border:none;

            outline: none;

            font-family: serif;

            font-size:20px;

            border-radius: 25px;

            text-shadow: 1px 1px 0 #fff;

            box-shadow: inset 2px 2px 5px #b6a9a9, inset -5px -5px 10px #fff;

}

button{

            width: 87%;

            border:none;

            height: 35px;

            border-radius: 25px;

            background:rgba(82,182,221);

            color: white;

            cursor: pointer;

            box-shadow: 5px 5px 10px #b6a9a9,-5px -5px 10px white;

            outline: none;

            font-size: 20px;

            color: black;

}


Source Code

 

Watch Videos


Youtube Channel


 

 

 

 

Neumorphism Login Form UI Design using HTML & CSS   Neumorphism Login Form UI Design using HTML & CSS Reviewed by easycoding on August 22, 2020 Rating: 5

No comments:

Powered by Blogger.