Material Login
How do I make an material login?
A Material Login form concept with social Signup. What is a material login? How do you make a material login? This script and codes were developed by Vineeth.TR on 04 July 2022, Monday.
Material Login - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Material Login</title> <link rel='stylesheet prefetch' href='http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="panel"> <h1>Vine</h1> <div class="formset"> <div class="form-group"> <lable class="form-label">User Name</lable> <input class="form-control" type="text"/> </div> <div class="form-group"> <lable class="form-label">Password</lable> <input class="form-control" type="password"/> </div> <button class="btn">Log in</button> </div> <h4>Login with</h4> <form class="twitter log-form"> <h3 class="caption fa fa-twitter"></h3> <p>Login with Twitter</p><i class="close">×</i> <div class="formset"> <div class="form-group"> <lable class="form-label">User Name</lable> <input class="form-control" type="text"/> </div> <div class="form-group"> <lable class="form-label">Password</lable> <input class="form-control" type="password"/> </div> <button class="btn">Log in</button> </div> </form> <form class="google log-form"> <h3 class="caption fa fa-google-plus"> </h3> <p>Login with Google + </p><i class="close">×</i> <div class="formset"> <div class="form-group"> <lable class="form-label">User Name</lable> <input class="form-control" type="text"/> </div> <div class="form-group"> <lable class="form-label">Password</lable> <input class="form-control" type="password"/> </div> <button class="btn">Log in</button> </div> </form> <form class="facebook log-form"> <h3 class="caption fa fa-facebook"> </h3> <p>Login with Facebook </p><i class="close">×</i> <div class="formset"> <div class="form-group"> <lable class="form-label">User Name</lable> <input class="form-control" type="text"/> </div> <div class="form-group"> <lable class="form-label">Password</lable> <input class="form-control" type="password"/> </div> <button class="btn">Log in</button> </div> </form>
</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>
Material Login - Script Codes CSS Codes
@import url(http://fonts.googleapis.com/css?family=Vibur);
*, *:after, *:before { box-sizing: border-box; -webkit-transition: 0.3s; transition: 0.3s;
}
body { background: url("http://fancymuch.com/wp-content/uploads/2014/01/lifestyle.jpg") no-repeat fixed; background-size: cover; background-color: #008784; font-family: arial;
}
.panel { max-width: 360px; background: rgba(255, 255, 255, 0.8); box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15); margin: auto; text-align: center; color: rgba(0, 0, 0, 0.5); position: absolute; left: 0; right: 0; top: 0; bottom: 0; height: 500px; overflow: hidden;
}
.panel h1 { font-size: 60px; margin: 25px 0 15px; display: inline-block; width: 100%; font-weight: 200; color: #FE5F01; font-family: 'Vibur', cursive;
}
.panel h4 { font-weight: 400; font-size: 16px; text-align: left; padding-left: 15px; padding-bottom: 5px; color: #ff9e02; border-bottom: 1px solid #ffbe02;
}
.btn { border: 1px solid #d44f01; padding: 10px; border-radius: 20px; width: 100%; margin-top: 15px; background: #FE5F01; font-size: 16px; font-weight: 400; cursor: pointer; color: #fff; position: relative; overflow: hidden;
}
.log-form { color: #fff; font-weight: 100; width: 40px; height: 40px; margin: 5px; padding: 0; border-radius: 25px; overflow: hidden; display: inline-block; cursor: pointer; left: 0; top: 0; position: relative; -webkit-transition: 0s; transition: 0s;
}
.log-form .close { position: absolute; top: 100%; right: 15px; font-size: 22px; opacity: 0;
}
.log-form .caption { font-weight: 100; font-size: 16px; display: inline-block; width: 100%; min-height: 40px; padding-top: 13px; margin: 0; position: relative; margin-right: 15px; text-align: center;
}
.log-form .formset, .log-form p { opacity: 0; position: relative; -webkit-transform: translateX(30px); transform: translateX(30px); -moz-transition: -moz-transform 0.5s 1s, opacity 1s 1s; -o-transition: -o-transform 0.5s 1s, opacity 1s 1s; -webkit-transition: -webkit-transform 0.5s, opacity 1s; -webkit-transition-delay: 1s, 1s; -webkit-transition: opacity 1s 1s, -webkit-transform 0.5s 1s; transition: opacity 1s 1s, -webkit-transform 0.5s 1s; transition: transform 0.5s 1s, opacity 1s 1s; transition: transform 0.5s 1s, opacity 1s 1s, -webkit-transform 0.5s 1s;
}
.log-form p { -webkit-transform: translateY(30px); transform: translateY(30px);
}
.log-form .form-group { border-color: #fff;
}
.log-form .form-group:after { background: #fff;
}
.log-form .form-group .form-label, .log-form .form-group .form-control { color: #fff;
}
.log-form .form-group.focus:after { background: #fff;
}
.log-form .form-group.focus .form-label, .log-form .form-group.filled .form-label { color: #fff;
}
.log-form .btn { background: #fff; border-color: #eee;
}
.log-form.open { width: 100%; height: 100%; position: absolute; margin: 0; cursor: inherit; z-index: 50; border-radius: 0; -moz-transition: width 0.3s 0.4S, height 0.3s 0.8s, border-radius 1.5s; -o-transition: width 0.3s 0.4S, height 0.3s 0.8s, border-radius 1.5s; -webkit-transition: width 0.3s 0.4S, height 0.3s, border-radius 1.5s; -webkit-transition-delay: 0s, 0.8s, 0s; -webkit-transition: width 0.3s 0.4S, height 0.3s 0.8s, border-radius 1.5s; transition: width 0.3s 0.4S, height 0.3s 0.8s, border-radius 1.5s;
}
.log-form.open .close { top: 10px; opacity: .7; cursor: pointer; z-index: 4;
}
.log-form.open .close:hover { opacity: 1; -webkit-transform: rotate(180deg); transform: rotate(180deg); font-size: 26px; right: 12px; top: 8px;
}
.log-form.open .caption { font-size: 50px; margin: 50px auto 15px;
}
.log-form.open .formset, .log-form.open p { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0);
}
.log-form.twitter { background: #00ACED;
}
.log-form.twitter .btn { color: #00ACED;
}
.log-form.google { background: #DD4A3A;
}
.log-form.google .btn { color: #DD4A3A;
}
.log-form.facebook { background: #3B579D;
}
.log-form.facebook .btn { color: #3B579D;
}
.formset { padding: 25px; max-width: 320px; margin: auto;
}
.form-group { border-bottom: 1px solid #ffbe02; position: relative; margin-bottom: 15px;
}
.form-group:after { content: ''; position: absolute; height: 2px; background: #fff; width: 0px; left: 0; right: 0; margin: auto; bottom: -2px; opacity: 0; -webkit-transition: 0.3s; transition: 0.3s;
}
.form-group .form-control { border: none; height: 35px; position: relative; z-index: 2; padding: 5px; background: none; color: #FE5F01; width: 100%;
}
.form-group .form-control:focus, .form-group .form-control:active { box-shadow: none; outline: none;
}
.form-group .form-label { font-weight: 300; color: #ff8801; font-size: 14px; min-height: 17px; text-align: left; position: absolute; top: 10px; left: 5px; right: 0; -webkit-transition: 0.3s; transition: 0.3s; z-index: 1;
}
.form-group.focus:after { opacity: 1; width: 100%; background: #FE5F01;
}
.form-group.focus .form-label, .form-group.filled .form-label { top: -7px; font-size: 10px; color: #FE5F01;
}
.ripple { width: 0; height: 0; border-radius: 50%; background: rgba(221, 74, 58, 0.5); -webkit-transform: scale(0, 0); transform: scale(0, 0); position: absolute; opacity: 1;
}
.rippleEffect { -webkit-animation: rippleDrop 0.3s ease-in; animation: rippleDrop 0.3s ease-in;
}
@-webkit-keyframes rippleDrop { to { -webkit-transform: scale(2.5); transform: scale(2.5); opacity: 0; }
}
@keyframes rippleDrop { to { -webkit-transform: scale(2.5); transform: scale(2.5); opacity: 0; }
}
Material Login - Script Codes JS Codes
////////////____Input Focus___////////////////// $('.form-control').focusout(function() { $('.form-group').removeClass('focus'); }); $('.form-control').focus(function() { $(this).closest('.form-group').addClass('focus'); }); /// Input Kepress Filled Focus $('.form-control').keyup(function() { if($(this).val().length > 0){ $(this).closest('.form-group').addClass('filled'); } else{ $(this).closest('.form-group').removeClass('filled'); } }); /// Input Check Filled Focus var $formControl = $('.form-control'); var values = {}; var validate = $formControl.each(function() { if($(this).val().length > 0){ $(this).closest('.form-group').addClass('filled'); } else{ $(this).closest('.form-group').removeClass('filled'); } });
// Button switching
$('.caption').click(function(){ $(this).closest('.log-form').addClass('open');
});
$('.close').click(function(){ $(this).closest('.log-form').removeClass('open');
});
//Ripple Effect
$(".btn").click(function(e) { // Remove olds ones $(".ripple").remove(); // Setup var posX = $(this).offset().left, posY = $(this).offset().top, buttonWidth = $(this).width(), buttonHeight = $(this).height(); // Add the element $(this).prepend("<span class='ripple'></span>"); // Make it round! if (buttonWidth >= buttonHeight) { buttonHeight = buttonWidth; } else { buttonWidth = buttonHeight; } // Get the center of the element var x = e.pageX - posX - buttonWidth / 2; var y = e.pageY - posY - buttonHeight / 2; // Add the ripples CSS and start the animation $(".ripple").css({ width: buttonWidth, height: buttonHeight, top: y + 'px', left: x + 'px' }).addClass("rippleEffect");
});
Developer | Vineeth.TR |
Username | vineethtr |
Uploaded | July 04, 2022 |
Rating | 4.5 |
Size | 5,848 Kb |
Views | 56,672 |
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 |
Social Nav | 6,778 Kb |
Inbox Compose | 2,898 Kb |
Material Action buttons | 5,525 Kb |
CatWalk Loading | 17,923 Kb |
Semi Circle Donut Charts | 4,156 Kb |
Login form shake effect | 3,430 Kb |
Material Login | 5,012 Kb |
Menu Model | 5,314 Kb |
Download Button | 2,810 Kb |
Search Interaction | 3,667 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 |
SVG Animation | Pollardld | 3,133 Kb |
A Pen by Kenny Mark | Kennymark | 5,574 Kb |
Animated bar chart | CreativePunch | 3,124 Kb |
Basic HTML Slideshow | Tomhodgins | 3,386 Kb |
React Vote Component | Souporserious | 5,465 Kb |
SCSS Simple Animated Drop-In | Danwarfel | 2,175 Kb |
Rotate Demo | Agelber | 3,061 Kb |
A cube | KyleDavidE | 18,627 Kb |
Ghost Buttons with CSS3 | Mithicher | 2,509 Kb |
Boxes | H3l1um | 2,563 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!