LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code
CSS
/*** COLORS ***/
/*** MIXINS ***/
body {
  background-color: #4b415c;
  font-family: 'Roboto', sans-serif;
}

.wrap {
  margin: 50px;
  text-align: center;
}
.wrap .ears {
  position: relative;
  text-align: center;
  margin: 0;
}
.wrap .ears .ear {
  height: 60px;
  width: 60px;
  text-align: center;
  margin: 0 20px;
  background-color: #000;
  border: 6px solid #fff;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}
.wrap .head {
  height: 150px;
  width: 150px;
  background-color: #fff;
  position: relative;
  margin: -50px auto;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
}
.wrap .head .eye {
  background-color: #000;
  height: 55px;
  width: 35px;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  -ms-border-radius: 40px;
  border-radius: 40px;
  position: relative;
}
.wrap .head .eye .eyeInner {
  height: 23px;
  width: 23px;
  background-color: #fff;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
  position: absolute;
}
.wrap .head .eye.left {
  margin: 30px 0 0 30px;
  -webkit-transform: rotate(25deg);
  -moz-transform: rotate(25deg);
  -ms-transform: rotate(25deg);
  transform: rotate(25deg);
}
.wrap .head .eye.left .eyeInner {
  bottom: 5px;
  left: 10px;
}
.wrap .head .eye.left .eyeInner:after {
  content: '';
  height: 15px;
  width: 15px;
  background-color: #000;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
  position: absolute;
  right: 2px;
  bottom: 1px;
}
.wrap .head .eye.right {
  margin: 30px 30px 0 0;
  -webkit-transform: rotate(-25deg);
  -moz-transform: rotate(-25deg);
  -ms-transform: rotate(-25deg);
  transform: rotate(-25deg);
}
.wrap .head .eye.right .eyeInner {
  bottom: 5px;
  right: 10px;
}
.wrap .head .eye.right .eyeInner:after {
  content: '';
  height: 15px;
  width: 15px;
  background-color: #000;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
  position: absolute;
  right: 6px;
  bottom: 1px;
}
.wrap .head .nose {
  background-color: #000;
  height: 20px;
  width: 25px;
  position: absolute;
  display: inline-block;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  border-radius: 20px;
  bottom: 3rem;
  margin-left: -12px;
}
.wrap .body {
  background-color: #fff;
  height: 310px;
  width: 230px;
  position: absolute;
  text-align: center;
  display: inline;
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  -ms-border-radius: 90px;
  border-radius: 90px;
  margin-left: -120px;
}
.wrap .login-card {
  width: 400px;
  display: inline-block;
  position: absolute;
  background-color: #fff;
  margin-left: -200px;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.wrap .login-card .login-card-content {
  background-color: #fff;
  width: 100%;
  padding: 10px 25px 0 25px;
}
.wrap .login-card .login-card-content input[type=password]:focus,
.wrap .login-card .login-card-content input[type=text]:focus {
  border-bottom: 1px solid #4b415c;
  box-shadow: 0 1px 0 0 #4b415c;
}
.wrap .login-card .login-card-content input[type=password]:focus + label,
.wrap .login-card .login-card-content input[type=text]:focus + label {
  color: #4b415c;
}
.wrap .login-card .login-card-content .input-field label {
  left: 0;
}
.wrap .login-card .login-card-content p {
  margin-bottom: 0;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: .5px;
  color: #4B415C;
  font-family: 'Pacifico', cursive;
}
.wrap .login-card .login-card-content .btn {
  background-color: #4b415c;
}
.wrap .login-card .hands .hand {
  position: absolute;
  top: 50%;
}
.wrap .login-card .hands .hand .dot {
  background-color: #000;
  height: 12px;
  width: 20px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  border-radius: 15px;
}
.wrap .login-card .hands .hand.right {
  margin-right: -10px;
  right: 0;
}
.wrap .login-card .hands .hand.left {
  margin-left: -10px;
}
.wrap .legs .leg {
  background-color: #000;
  height: 75px;
  width: 55px;
  display: inline-block;
  text-align: center;
  position: absolute;
  -webkit-border-radius: 50px 50px 80px 80px;
  -moz-border-radius: 50px 50px 80px 80px;
  -ms-border-radius: 50px 50px 80px 80px;
  border-radius: 50px 50px 80px 80px;
  margin-top: 17rem;
}
.wrap .legs .leg .sm-dot {
  display: inline-block;
  height: 20px;
  width: 10px;
  background-color: #545454;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  border-radius: 15px;
  margin-top: 10px;
}
.wrap .legs .leg .bg-dot {
  height: 30px;
  width: 25px;
  background-color: #545454;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  border-radius: 20px;
  margin: 0px 0 5px 15px;
}
.wrap .legs .leg.left {
  margin-left: -9.1rem;
}
.wrap .legs .leg.right {
  margin-left: 5rem;
}
JS
$(document).ready(function(){
	$("#pass").focus(function(){
			$(".login-card").css("margin-top","-45px");
	});
	$("input").blur(function(){
			$(".login-card").css("margin-top","0px");
	});
});
Host Instantly Drag and Drop Website Builder

 

Description

CLose your eyes when am typing password
Term
Wed, 11/29/2017 - 11:25

Related Codes

Pen ID
Pen ID
Pen ID