Flat UI Login Form

Developer
Size
4,780 Kb
Views
32,384

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 Previews

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);
});
Flat UI Login Form - Script Codes
Flat UI Login Form - Script Codes
Home Page Home
Developer Brad Bodine
Username bbodine1
Uploaded August 11, 2022
Rating 4.5
Size 4,780 Kb
Views 32,384
Do you need developer help for Flat UI Login Form?

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!

Brad Bodine (bbodine1) Script Codes
Create amazing sales emails with AI!

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!