LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code

CSS
body {
  color: #7C7C7C;
}

.background {
  margin: 0;
  background-color: #9CE7D6;
  width: 100%;
  height: 100%;
  position: absolute;
}
.background:before {
  content: '';
  width: 150%;
  background-color: #D9FBF3;
  height: 100%;
  position: absolute;
  top: -50%;
  left: -50%;
  transform: rotate(-30deg);
}

.login-box {
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0px 2px 18px 1px rgba(33, 119, 99, 0.4);
  height: 400px;
  width: 350px;
  position: relative;
  margin: auto;
  top: 70px;
  box-sizing: border-box;
  padding: 70px 60px;
}

.nav-bar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
.nav-bar ul li {
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  display: inline-block;
  width: 49%;
  font-size: 16px;
}
.nav-bar ul li span {
  cursor: pointer;
}
.nav-bar ul li span.active {
  color: #78E2CA;
  padding: 5px 0;
  border-bottom: 2px solid #78E2CA;
}
.nav-bar ul li:nth-child(2) {
  text-align: right;
}

.form-container {
  margin-top: 40px;
}
.form-container input[type="text"], .form-container input[type="password"] {
  background: #FFFFFF;
  border: 1px solid #DDDDDD;
  border-radius: 27px;
  font-size: 14px;
  padding: 12px 20px;
  box-sizing: border-box;
  width: 110%;
  margin-left: -5%;
  margin-bottom: 18px;
  transition: 0.3s;
}
.form-container input[type="text"]:focus, .form-container input[type="password"]:focus {
  border: 1px solid #78E2CA;
  outline: 0;
  color: #8BEAD4;
}

input[type="password"] {
  font: small-caption;
  font-size: 32px;
}

button {
  width: 40px;
  height: 40px;
  border-radius: 40px;
  background-color: #fff;
  border: 1px solid #78E2CA;
  color: #78E2CA;
  font-size: 24px;
  text-align: center;
  box-sizing: border-box;
  padding-left: 10px;
  float: right;
  right: -10px;
  position: relative;
  transition: 0.1s;
}
button:hover {
  border: 3px solid #78E2CA;
}
button:active, button:focus {
  outline: 0;
}

.circle {
  cursor: pointer;
  width: 50px;
  height: 50px;
  background-color: #78E2CA;
  position: absolute;
  top: 310px;
  right: 50px;
  z-index: 99;
  transition: transform 1.5s;
  transition-timing-function: ease-in;
  border-radius: 500px;
  opacity: 0;
}
.circle.grow {
  transform: scale(200);
  opacity: 1;
}

.viewport {
  width: 110%;
  margin-left: -5%;
  overflow: hidden;
}
.viewport .container {
  width: 200%;
  position: relative;
  transition: 0.3s;
  left: 0;
}
.viewport .container.change {
  transform: translateX(-50%);
}
.viewport .container.change input {
  opacity: 0;
}
.viewport .container .slide {
  width: 50%;
  float: left;
}
.viewport .container .slide input {
  margin-left: 0px;
  width: 100%;
}
.viewport .container .slide a {
  margin-top: 12px;
  color: #78E2CA;
  text-decoration: none;
  margin-left: 15px;
}
.viewport input, .viewport a {
  float: left;
}
JS
$(function() {
   $('.nav-bar li span').click(function() {
     $('.active').removeClass('active');
     $(this).addClass('active');
     
     $('.container').toggleClass('change');
   });
  
  $('.circle').click(function() {
     $('.circle').addClass('grow');
  });
});
Term
Sat, 01/13/2018 - 16:13

Related Codes

Pen ID
Pen ID
Pen ID
Square Adv