Flat UI Login
How do I make an flat ui login?
Just a random Login Page designed with Flat UI in mind. Thank you @chriscoyier for the css arrow inspiration and wisdom. Really appreciate it.. What is a flat ui login? How do you make a flat ui login? This script and codes were developed by Saysora on 26 August 2022, Friday.
Flat UI Login - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Flat UI Login</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="wrap"> <div id="regbar"> <div id="navthing"> <h2><a href="#" id="loginform">Login</a> | <a href="#">Register</a></h2> <div class="login"> <div class="arrow-up"></div> <div class="formholder"> <div class="randompad"> <fieldset> <label name="email">Email</label> <input type="email" value="[email protected]" /> <label name="password">Password</label> <input type="password" /> <input type="submit" value="Login" /> </fieldset> </div> </div> </div> </div> </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 - Script Codes CSS Codes
* { margin: 0; padding: 0;
}
body { margin: 0; padding: 0; font-family: Sans-serif; background: #2c3e50;
}
#wrap { margin: 0 auto 30px;
}
#regbar { height: 67px; background: #34495e;
}
#navthing { margin-left: 50px;
}
h2 { padding: 20px; color: #ecf0f1;
}
fieldset { border: none;
}
.login { position: relative; width: 350px; display: none;
}
.arrow-up { width: 0; height: 0; border-left: 20px solid transparent; border-right: 20px solid transparent; border-bottom: 15px solid #ECF0F1; left: 10%; position: absolute; top: -10px;
}
.formholder { background: #ecf0f1; width: 350px; border-radius: 5px; padding-top: 5px;
}
.formholder input[type="email"], .formholder input[type="password"] { padding: 7px 5px; margin: 10px 0; width: 96%; display: block; font-size: 18px; border-radius: 5px; border: none; -webkit-transition: 0.3s linear; -moz-transition: 0.3s linear; -o-transition: 0.3s linear; transition: 0.3s linear;
}
.formholder input[type="email"]:focus, .formholder input[type="password"]:focus { outline: none; box-shadow: 0 0 1px 1px #1abc9c;
}
.formholder input[type="submit"] { background: #1abc9c; padding: 10px; font-size: 20px; display: block; width: 100%; border: none; color: #fff; border-radius: 5px;
}
.formholder input[type="submit"]:hover { background: #1bc6a4;
}
.randompad { padding: 10px;
}
.green { color: #1abc9c;
}
a { color: #ecf0f1; text-decoration: none;
}
a:hover { color: #1abc9c;
}
Flat UI Login - Script Codes JS Codes
$('input[type="submit"]').mousedown(function(){ $(this).css('background', '#2ecc71');
});
$('input[type="submit"]').mouseup(function(){ $(this).css('background', '#1abc9c');
});
$('#loginform').click(function(){ $('.login').fadeToggle('slow'); $(this).toggleClass('green');
});
$(document).mouseup(function (e)
{ var container = $(".login"); if (!container.is(e.target) // if the target of the click isn't the container... && container.has(e.target).length === 0) // ... nor a descendant of the container { container.hide(); $('#loginform').removeClass('green'); }
});
Developer | Saysora |
Username | azureknight |
Uploaded | August 26, 2022 |
Rating | 3.5 |
Size | 3,358 Kb |
Views | 30,360 |
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 |
Responsive Background | 2,168 Kb |
Food Roulette | 3,581 Kb |
Legend of Zelda - Triforce | 2,530 Kb |
CSS Browser | 2,611 Kb |
First Loading Animation | 2,886 Kb |
Beautiful Ribbon | 1,985 Kb |
Life Mottos | 3,352 Kb |
Ralph Lauren Mimic | 3,067 Kb |
Info Cards | 3,926 Kb |
Simple Video Lightbox | 3,103 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 |
Template | Indra_z85 | 2,323 Kb |
Cars going | Netoguimaraes | 1,699 Kb |
Siema - add pagination to prototype | Pawelgrzybek | 2,575 Kb |
Scroll to top button | DominicFrancois | 3,743 Kb |
Hard-Stop Gradients | Mackdoyle | 2,288 Kb |
Practice using Wixel | Emnk | 3,057 Kb |
Vue Transition | Chenming142 | 4,561 Kb |
Vanilla modal window | Jasonhowmans | 3,554 Kb |
Drop Cap | Gsaiki | 1,571 Kb |
Jquery 2d character movement | Drewtadams | 4,291 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!