Flat UI Login Form
How do I make an flat ui login form?
Self Contained SCSS. Forked from http://cssdeck.com/labs/flat-ui-login-form by: http://codepen.io/davideast. What is a flat ui login form? How do you make a flat ui login form? This script and codes were developed by Brad Bodine on 11 August 2022, Thursday.
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" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.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(http://fonts.googleapis.com/css?family=Roboto:100);
.flat-form { background: #e74c3c; color: white; margin: 25px auto; width: 390px; height: 340px; position: relative; font-family: 'Roboto';
}
.flat-form .tabs { display: block; background: #c0392b; width: 100%; height: 40px; margin: 0; margin-bottom: 20px; padding: 0; position: relative; list-style-type: none;
}
.flat-form .tabs li { display: block; margin: 0; padding: 0; float: left;
}
.flat-form .tabs li a { display: block; background: #c0392b; color: white; text-decoration: none; font-size: 16px; float: left; padding: 12px 22px;
}
.flat-form .tabs li a.active { background: #e74c3c; border-right: none; -moz-transition: all 0.5s linear; -o-transition: all 0.5s linear; -webkit-transition: all 0.5s linear; transition: all 0.5s linear;
}
.flat-form .tabs li a:hover { background: #d65548; -moz-transition: all 0.5s linear; -o-transition: all 0.5s linear; -webkit-transition: all 0.5s linear; transition: all 0.5s linear;
}
.flat-form .tabs li:last-child a { text-align: center; width: 174px; padding-left: 0; padding-right: 0; border-right: none;
}
.flat-form .form-action { padding: 0 20px; position: relative;
}
.flat-form h1 { font-size: 42px; padding-bottom: 10px;
}
.flat-form p { font-size: 12px; padding-bottom: 10px; line-height: 25px;
}
.flat-form a { color: yellow; text-decoration: none;
}
.flat-form a:hover { text-decoration: underline;
}
.flat-form form { padding-right: 20px !important;
}
.flat-form form input[type=text], .flat-form form input[type=password], .flat-form form input[type=submit] { font-family: 'Roboto';
}
.flat-form form input[type=text], .flat-form form input[type=password] { width: 100%; height: 40px; margin-bottom: 10px; padding-left: 15px; background: #fff; border: none; color: #e74c3c; outline: none;
}
.flat-form form input.button { border: none; display: block; background: #136899; height: 40px; width: 80px; color: #ffffff; text-align: center; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; -moz-box-shadow: 0px 3px 1px #2075aa; -webkit-box-shadow: 0px 3px 1px #2075aa; box-shadow: 0px 3px 1px #2075aa; -moz-transition: all 0.15s linear; -o-transition: all 0.15s linear; -webkit-transition: all 0.15s linear; transition: all 0.15s linear;
}
.flat-form form input.button:hover { background: #1e75aa; -moz-box-shadow: 0 3px 1px #237bb2; -webkit-box-shadow: 0 3px 1px #237bb2; box-shadow: 0 3px 1px #237bb2;
}
.flat-form form input.button:active { background: #136899; @inclue box-shadow( 0 3px 1px #0f608c );
}
.flat-form form input::-webkit-input-placeholder { color: #e74c3c;
}
.flat-form form input:-moz-placeholder { color: #e74c3c;
}
.flat-form form input::-moz-placeholder { color: #e74c3c;
}
.flat-form form input:-ms-input-placeholder { color: #e74c3c;
}
.flat-form .show { display: block;
}
.flat-form .hide { display: none;
}
body { background: #1a1a1a;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <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 Flat UI</h1> <p>Lorem ipsum by <a href="http://codepen.io/davideast">David East</a> dolor sit amet, consectetur adipisicing elit. Veritatis, magni culpa facilis.</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>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quod, culpa repudiandae.</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>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Rem, provident in accusamus possimus.</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> <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(http://fonts.googleapis.com/css?family=Roboto:100);
.flat-form { background: #e74c3c; color: white; margin: 25px auto; width: 390px; height: 340px; position: relative; font-family: 'Roboto';
}
.flat-form .tabs { display: block; background: #c0392b; width: 100%; height: 40px; margin: 0; margin-bottom: 20px; padding: 0; position: relative; list-style-type: none;
}
.flat-form .tabs li { display: block; margin: 0; padding: 0; float: left;
}
.flat-form .tabs li a { display: block; background: #c0392b; color: white; text-decoration: none; font-size: 16px; float: left; padding: 12px 22px;
}
.flat-form .tabs li a.active { background: #e74c3c; border-right: none; -moz-transition: all 0.5s linear; -o-transition: all 0.5s linear; -webkit-transition: all 0.5s linear; transition: all 0.5s linear;
}
.flat-form .tabs li a:hover { background: #d65548; -moz-transition: all 0.5s linear; -o-transition: all 0.5s linear; -webkit-transition: all 0.5s linear; transition: all 0.5s linear;
}
.flat-form .tabs li:last-child a { text-align: center; width: 174px; padding-left: 0; padding-right: 0; border-right: none;
}
.flat-form .form-action { padding: 0 20px; position: relative;
}
.flat-form h1 { font-size: 42px; padding-bottom: 10px;
}
.flat-form p { font-size: 12px; padding-bottom: 10px; line-height: 25px;
}
.flat-form a { color: yellow; text-decoration: none;
}
.flat-form a:hover { text-decoration: underline;
}
.flat-form form { padding-right: 20px !important;
}
.flat-form form input[type=text], .flat-form form input[type=password], .flat-form form input[type=submit] { font-family: 'Roboto';
}
.flat-form form input[type=text], .flat-form form input[type=password] { width: 100%; height: 40px; margin-bottom: 10px; padding-left: 15px; background: #fff; border: none; color: #e74c3c; outline: none;
}
.flat-form form input.button { border: none; display: block; background: #136899; height: 40px; width: 80px; color: #ffffff; text-align: center; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; -moz-box-shadow: 0px 3px 1px #2075aa; -webkit-box-shadow: 0px 3px 1px #2075aa; box-shadow: 0px 3px 1px #2075aa; -moz-transition: all 0.15s linear; -o-transition: all 0.15s linear; -webkit-transition: all 0.15s linear; transition: all 0.15s linear;
}
.flat-form form input.button:hover { background: #1e75aa; -moz-box-shadow: 0 3px 1px #237bb2; -webkit-box-shadow: 0 3px 1px #237bb2; box-shadow: 0 3px 1px #237bb2;
}
.flat-form form input.button:active { background: #136899; @inclue box-shadow( 0 3px 1px #0f608c );
}
.flat-form form input::-webkit-input-placeholder { color: #e74c3c;
}
.flat-form form input:-moz-placeholder { color: #e74c3c;
}
.flat-form form input::-moz-placeholder { color: #e74c3c;
}
.flat-form form input:-ms-input-placeholder { color: #e74c3c;
}
.flat-form .show { display: block;
}
.flat-form .hide { display: none;
}
body { background: #1a1a1a;
}
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 | Brad Bodine |
Username | bbodine1 |
Uploaded | August 11, 2022 |
Rating | 4.5 |
Size | 4,780 Kb |
Views | 32,384 |
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 |
CSS Flip Animation | 2,525 Kb |
Card flip and zoom | 2,808 Kb |
Modular Flip Card | 4,009 Kb |
Login form using HTML5 and CSS3 | 3,652 Kb |
Simple slanted corner | 2,462 Kb |
SASS Color Adjustments | 2,318 Kb |
Foundation Full Width Rows | 2,548 Kb |
CSS3 Monochrome Icon Set Linkable | 15,485 Kb |
A Pen by Brad Bodine | 4,747 Kb |
Single L shape element link | 2,162 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 |
Parallax with only CSS | Thulioph | 2,297 Kb |
Custom Select Element | Agrayson | 3,616 Kb |
Scroll Arrow | Robooneus | 4,437 Kb |
Algorithm practice | Abensur | 5,620 Kb |
SVG Transform vs CSS Transform | AmeliaBR | 4,175 Kb |
IbrahimJabbari-Effect14 | Ibrahimjabbari | 1,919 Kb |
JQuery exercise | Brian-baum | 3,780 Kb |
Voting App - register | MatheusLima92 | 1,948 Kb |
Wikipedia Viewer | Thomasvaeth | 2,549 Kb |
A Pen by Jonas Bjork | Jonasbjork | 3,115 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!