Simple Login Form
How do I make an simple login form?
Design by reddit.com/u/l0gicNZSimple example of how one might make this using modern HTML5/CSS techniques.. What is a simple login form? How do you make a simple login form? This script and codes were developed by Joshua Blackwood on 10 November 2022, Thursday.
Simple Login Form - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Simple Login Form</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ @import url(https://fonts.googleapis.com/css?family=Titillium+Web:200,300,400,600);
body { font-family: 'Titillium Web', sans-serif; background: #383F4F; color: #fff; text-align: center;
}
header, main, footer { max-width: 360px; margin: 0 auto;
}
.logo { box-sizing: border-box; width: 60px; height: 60px; margin: 60px auto 25px auto; border: 5px solid #F8DB72; -moz-border-radius: 50%; -webkit-border-radius: 50%; border-radius: 50%;
}
.logo .logo-inner { box-sizing: border-box; position: relative; overflow: hidden; width: 100%; height: 100%; border: 2px solid #383F4F; -moz-border-radius: 50%; -webkit-border-radius: 50%; border-radius: 50%;
}
.logo .logo-inner .shape-1 { width: 0; height: 0; border-left: 25px solid transparent; border-right: 25px solid transparent; border-top: 25px solid #AFB2B8; position: relative; left: -2px; top: -3px;
}
.logo .logo-inner .shape-2 { width: 0; height: 0; border-left: 25px solid transparent; border-right: 25px solid transparent; border-bottom: 25px solid #AFB2B8; position: relative; left: -2px; top: -2px;
}
h1 { font-weight: 200;
}
.container { background: #fff; padding: 25px; margin-top: 35px; color: #363636; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px;
}
form { text-transform: uppercase; font-size: .8em; font-weight: 600;
}
form label { display: block; text-align: left; margin: 0;
}
form input { font-size: 1.4em; font-family: Helvetica, Arial, sans-serif; font-weight: 400; border: 0; border-bottom: 2px solid #EEEEEE; outline: 0; padding: 4px 0 0 0; margin-bottom: 25px; display: block; height: 36px; width: 100%;
}
form button { text-transform: uppercase; font-size: 1.4em; font-weight: 300; display: block; width: 100%; padding: .25em 0; border: 0; background: #D5D5D5; color: #707070; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px;
}
footer { margin-top: 100px; color: #92A1A3; font-size: small;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <header> <div class="logo"> <div class="logo-inner"> <div class="shape-1"></div> <div class="shape-2"></div> </div> </div> <h1>Company Name</h1>
</header>
<main role="main" class="container"> <form action="" role="form" method="post"> <label for="username">Username</label> <input type="text" name="username" id="username" /> <label for="password">Password</label> <input type="password" name="password" id="password" /> <button type="submit">Login</button> </form>
</main>
<footer role="contentinfo">© Copyright 2014 Company Name</footer> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Simple Login Form - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Titillium+Web:200,300,400,600);
body { font-family: 'Titillium Web', sans-serif; background: #383F4F; color: #fff; text-align: center;
}
header, main, footer { max-width: 360px; margin: 0 auto;
}
.logo { box-sizing: border-box; width: 60px; height: 60px; margin: 60px auto 25px auto; border: 5px solid #F8DB72; -moz-border-radius: 50%; -webkit-border-radius: 50%; border-radius: 50%;
}
.logo .logo-inner { box-sizing: border-box; position: relative; overflow: hidden; width: 100%; height: 100%; border: 2px solid #383F4F; -moz-border-radius: 50%; -webkit-border-radius: 50%; border-radius: 50%;
}
.logo .logo-inner .shape-1 { width: 0; height: 0; border-left: 25px solid transparent; border-right: 25px solid transparent; border-top: 25px solid #AFB2B8; position: relative; left: -2px; top: -3px;
}
.logo .logo-inner .shape-2 { width: 0; height: 0; border-left: 25px solid transparent; border-right: 25px solid transparent; border-bottom: 25px solid #AFB2B8; position: relative; left: -2px; top: -2px;
}
h1 { font-weight: 200;
}
.container { background: #fff; padding: 25px; margin-top: 35px; color: #363636; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px;
}
form { text-transform: uppercase; font-size: .8em; font-weight: 600;
}
form label { display: block; text-align: left; margin: 0;
}
form input { font-size: 1.4em; font-family: Helvetica, Arial, sans-serif; font-weight: 400; border: 0; border-bottom: 2px solid #EEEEEE; outline: 0; padding: 4px 0 0 0; margin-bottom: 25px; display: block; height: 36px; width: 100%;
}
form button { text-transform: uppercase; font-size: 1.4em; font-weight: 300; display: block; width: 100%; padding: .25em 0; border: 0; background: #D5D5D5; color: #707070; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px;
}
footer { margin-top: 100px; color: #92A1A3; font-size: small;
}
Simple Login Form - Script Codes JS Codes
/*---------------------------\
| This is just a quick example made to demonstrate how this
| design by reddit user l0gicNZ 'could' be built using HTML5
| and modern CSS techniques.
| It is by no means 'the best' way to build this, and all
| rights for the design are his, not mine.
| Ideally, we'd add some CSS :valid and :invalid styling
| along with HTML5 form validation.
\----------------------------*/

Developer | Joshua Blackwood |
Username | JoshBlackwood |
Uploaded | November 10, 2022 |
Rating | 3 |
Size | 4,418 Kb |
Views | 18,207 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
JQuery Progress Bar | 9,405 Kb |
A Pen by Joshua Blackwood | 2,287 Kb |
A Pen by Joshua Blackwood | 2,498 Kb |
Flip Hero | 2,761 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Sinclair Research Computers | MattCowley | 3,068 Kb |
A Pen by lizz | Lizz | 10,068 Kb |
Comment Jquery | SquishyAndroid | 2,421 Kb |
CSS 3D Radio buttons | Andreasnylin | 1,650 Kb |
Rows with image hover effect | Amit-webdesigner | 12,875 Kb |
Css color for svg | Ademilter | 2,392 Kb |
Classy Blockquote Styling | Andrewwright | 3,212 Kb |
Background Images | Jooonebug | 2,100 Kb |
CSS Letter animations | Sladix | 2,116 Kb |
Navcube | Wbarlow | 4,775 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!