Flat UI Login Form
How do I make an flat ui login form?
Inspiration from http://365psd.com/day/3-328/. What is a flat ui login form? How do you make a flat ui login form? This script and codes were developed by David on 14 November 2022, Monday.
Flat UI Login Form - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Flat UI Login Form</title> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <div class="flat-form"> <ul class="tabs"> <li> <a href="#login" class="active">Login</a> </li> <li> <a href="#register">Register</a> </li> <li> <a href="#reset">Reset Password</a> </li> </ul> <div id="login" class="form-action show"> <h1>Login on webapp</h1> <p> Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Maecenas sed diam eget risus varius bladit sit amet non </p> <form> <ul> <li> <input type="text" placeholder="Username" /> </li> <li> <input type="password" placeholder="Password" /> </li> <li> <input type="submit" value="Login" class="button" /> </li> </ul> </form> </div> <!--/#login.form-action--> <div id="register" class="form-action hide"> <h1>Register</h1> <p> You should totally sign up for our super awesome service. It's what all the cool kids are doing nowadays. </p> <form> <ul> <li> <input type="text" placeholder="Username" /> </li> <li> <input type="password" placeholder="Password" /> </li> <li> <input type="submit" value="Sign Up" class="button" /> </li> </ul> </form> </div> <!--/#register.form-action--> <div id="reset" class="form-action hide"> <h1>Reset Password</h1> <p> To reset your password enter your email and your birthday and we'll send you a link to reset your password. </p> <form> <ul> <li> <input type="text" placeholder="Email" /> </li> <li> <input type="text" placeholder="Birthday" /> </li> <li> <input type="submit" value="Send" class="button" /> </li> </ul> </form> </div> <!--/#register.form-action--> </div> </div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Flat UI Login Form - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Roboto:100);
body { background: #1a1a1a; color: white; font-family: 'Roboto';
}
.flat-form { background: #e74c3c; margin: 25px auto; width: 390px; height: 340px; position: relative; font-family: 'Roboto';
}
.tabs { background: #c0392b; height: 40px; margin: 0; padding: 0; list-style-type: none; width: 100%; position: relative; display: block; margin-bottom: 20px;
}
.tabs li { display: block; float: left; margin: 0; padding: 0;
}
.tabs a { background: #c0392b; display: block; float: left; text-decoration: none; color: white; font-size: 16px; padding: 12px 22px 12px 22px; /*border-right: 1px solid @tab-border;*/
}
.tabs li:last-child a { border-right: none; width: 174px; padding-left: 0; padding-right: 0; text-align: center;
}
.tabs a.active { background: #e74c3c; border-right: none; -webkit-transition: all 0.5s linear; -moz-transition: all 0.5s linear; transition: all 0.5s linear;
}
.form-action { padding: 0 20px; position: relative;
}
.form-action h1 { font-size: 42px; padding-bottom: 10px;
}
.form-action p { font-size: 12px; padding-bottom: 10px; line-height: 25px;
}
form { padding-right: 20px !important;
}
form input[type=text],
form input[type=password],
form input[type=submit] { font-family: 'Roboto';
}
form input[type=text],
form input[type=password] { width: 100%; height: 40px; margin-bottom: 10px; padding-left: 15px; background: #fff; border: none; color: #e74c3c; outline: none;
}
.dark-box { background: #5e0400; box-shadow: 1px 3px 3px #3d0100 inset; height: 40px; width: 50px;
}
.form-action .dark-box.bottom { position: absolute; right: 0; bottom: -24px;
}
.tabs + .dark-box.top { position: absolute; right: 0; top: 0px;
}
.show { display: block;
}
.hide { display: none;
}
.button { border: none; display: block; background: #136899; height: 40px; width: 80px; color: #ffffff; text-align: center; border-radius: 5px; /*box-shadow: 0px 3px 1px #2075aa;*/ -webkit-transition: all 0.15s linear; -moz-transition: all 0.15s linear; transition: all 0.15s linear;
}
.button:hover { background: #1e75aa; /*box-shadow: 0 3px 1px #237bb2;*/
}
.button:active { background: #136899; /*box-shadow: 0 3px 1px #0f608c;*/
}
::-webkit-input-placeholder { color: #e74c3c;
}
:-moz-placeholder { /* Firefox 18- */ color: #e74c3c;
}
::-moz-placeholder { /* Firefox 19+ */ color: #e74c3c;
}
:-ms-input-placeholder { color: #e74c3c;
}
Flat UI Login Form - Script Codes JS Codes
$('.tabs').on('click', 'li a', function(e){ e.preventDefault(); var $tab = $(this), href = $tab.attr('href'); $('.active').removeClass('active'); $tab.addClass('active'); $('.show') .removeClass('show') .addClass('hide') .hide(); $(href) .removeClass('hide') .addClass('show') .hide() .fadeIn(550);
});
Developer | David |
Username | david-east |
Uploaded | November 14, 2022 |
Rating | 3.5 |
Size | 3,079 Kb |
Views | 40,480 |
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 |
A Pen by David | 1,823 Kb |
Mobile Disabled Animation | 2,985 Kb |
LESS - Nesting | 2,326 Kb |
Restrictive Queries with Firebase | 2,083 Kb |
HTML5 Geolocation | 1,456 Kb |
Polaroid Fade-in | 2,986 Kb |
IPhone Targeting | 2,073 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 |
Classy Blockquote Styling | Andrewwright | 3,212 Kb |
Dragonball Dragon Radar | DouglasGlover | 2,157 Kb |
Cake | Kennyname | 7,220 Kb |
FCC_Twitch.tv | MitchES | 3,466 Kb |
Rotate Demo | Agelber | 3,061 Kb |
Gradient-ui-button-mark-fx | Tabspace | 1,881 Kb |
Popup Modal | Aldlevine | 3,696 Kb |
CSS background-size - GSAP | Jonathan | 2,209 Kb |
A Pen by Eka Risyana | Risyana | 3,705 Kb |
Z-index demo | Kblh | 1,534 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!