Material Login

Developer
Size
5,848 Kb
Views
56,672

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 Previews

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">&times;</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">&times;</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">&times;</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");
});
Material Login - Script Codes
Material Login - Script Codes
Home Page Home
Developer Vineeth.TR
Username vineethtr
Uploaded July 04, 2022
Rating 4.5
Size 5,848 Kb
Views 56,672
Do you need developer help for Material Login?

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!

Vineeth.TR (vineethtr) Script Codes
Create amazing SEO content 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!