LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code
CSS
* {
  box-sizing: border-box;
}
body {
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: 300;
}
html,
body {
  height: 100%;
}
.wrapper {
  height: 100%;
  background: #333;
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
}
.wrapper:before {
  content: "";
  position: absolute;
  z-index: -1;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: 50%;
  background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/109450/sls-login-bg_mini.jpg');
  background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/109450/corvette-login-bg_mini.jpg');
  background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/109450/m2-login-bg_mini.jpg');
  -webkit-animation: changeBG 20s infinite ease-in-out alternate;
          animation: changeBG 20s infinite ease-in-out alternate;
}
@-webkit-keyframes changeBG {
  0% {
    background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/109450/sls-login-bg_mini.jpg');
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  22% {
    background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/109450/sls-login-bg_mini.jpg');
  }
  26% {
    background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/109450/corvette-login-bg_mini.jpg');
  }
  74% {
    background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/109450/corvette-login-bg_mini.jpg');
  }
  78% {
    background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/109450/m2-login-bg_mini.jpg');
  }
  100% {
    background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/109450/m2-login-bg_mini.jpg');
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
}
@keyframes changeBG {
  0% {
    background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/109450/sls-login-bg_mini.jpg');
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  22% {
    background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/109450/sls-login-bg_mini.jpg');
  }
  26% {
    background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/109450/corvette-login-bg_mini.jpg');
  }
  74% {
    background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/109450/corvette-login-bg_mini.jpg');
  }
  78% {
    background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/109450/m2-login-bg_mini.jpg');
  }
  100% {
    background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/109450/m2-login-bg_mini.jpg');
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
}
.ic-logo-container {
  width: 100px;
  height: 100px;
  background-image: url('//s3-us-west-2.amazonaws.com/s.cdpn.io/109450/profile/profile-512_1.jpg');
  background-size: 100%;
  margin: 0 auto 20px auto;
}
.user-form {
  background: white;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 40px 0;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
  text-align: center;
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.15);
}
.user-action-trigger {
  -webkit-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
  position: relative;
  display: inline-block;
  width: 100px;
  padding: 10px;
  font-size: 20px;
  color: rgba(0, 0, 0, 0.3);
  font-weight: 300;
  text-decoration: none;
}
.user-action-trigger:visited {
  color: rgba(0, 0, 0, 0.3);
}
.user-action-trigger:hover {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.5);
}
.user-action-trigger:before {
  -webkit-transition: width 0.15s ease-out;
  transition: width 0.15s ease-out;
  content: "";
  position: absolute;
  bottom: 0;
  height: 2px;
  width: 0;
}
.user-action-trigger:nth-child(1) {
  margin-right: -2px;
}
.user-action-trigger:nth-child(1):before {
  right: 0;
  background-color: #7190d6;
}
.user-action-trigger:nth-child(2) {
  margin-left: -2px;
}
.user-action-trigger:nth-child(2):before {
  left: 0;
  background-color: #b80063;
}
.user-action-trigger.active {
  color: #000000;
  text-decoration: none;
}
.user-action-trigger.active:before {
  width: 100%;
}
.user-action-tabs {
  position: relative;
}
.user-action-content {
  padding: 20px;
}
.user-action-option {
  display: none;
}
.user-action-option.active {
  display: block;
}
.input-container {
  position: relative;
  display: block;
  max-width: 300px;
  margin: 0 auto 20px auto;
}
.input-container:before {
  position: absolute;
  font-size: 18px;
  color: #7190d6;
  left: 10px;
  top: 12px;
}
.user-action-signup .input-container:before {
  color: #b80063;
}
h1 {
  font-size: 22px;
  line-height: 30px;
  color: #a2cf04;
  margin: 0 0 40px 0;
}
input {
  -webkit-transition: border 0.15s ease-out;
  transition: border 0.15s ease-out;
  display: block;
  width: 100%;
  margin-bottom: 20px;
  padding: 10px 10px 10px 35px;
  font-size: 16px;
  line-height: 20px;
  outline: none;
  border: none;
  border-bottom: 2px solid rgba(0, 0, 0, 0.3);
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.8);
}
input:focus {
  border-color: #7190d6;
}
.user-action-signup input:focus {
  border-color: #b80063;
}
.user-go {
  display: block;
  width: 100px;
  margin: 0 auto;
  outline: none;
  border: none;
  color: white;
  background: #7190d6;
  padding: 10px 20px;
}
.user-action-signup .user-go {
  background: #b80063;
}
JS
$(document).ready(function(){
	$('[data-ic-class="tab-trigger"]').click(function(e, index){
		e.preventDefault();
		$('[data-ic-class="tab-trigger"]').removeClass('active');
		$(this).addClass('active');
		var tabIndex = $(this).index();
		$('[data-ic-class="tab-content"]').removeClass('active');
		$('[data-ic-class="tab-content"]').eq(tabIndex).addClass('active');
	});
});
Host Instantly Drag and Drop Website Builder

 

Term
Wed, 11/29/2017 - 11:25

Related Codes

Pen ID
Pen ID
Pen ID