LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code
CSS
html,
body {
  height: 100%;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background-color: #e7e7e7;
  font-family: Roboto, Helvectica, Arial, sans-serif;
}

.container {
  width: 50%;
  padding-top: 20px;
  margin: 0 auto;
}

.form {
  width: 100%;
  padding: 30px;
  background-color: #FFF;
}

.form-row {
  position: relative;
}
.form-row + .form-row {
  margin-top: 30px;
}

.form-label {
  position: absolute;
  top: 13px;
  color: #999;
  cursor: text;
  transition: all .15s ease-in-out 0s;
}

.form-input {
  position: relative;
  padding: 12px 0px 5px 0;
  width: 100%;
  outline: 0;
  border: none;
  font-size: inherit;
  box-shadow: 0 1px 0 0 #e5e5e5;
  transition: box-shadow 150ms ease-out;
}
.form-input:focus {
  box-shadow: 0 2px 0 0 #009688;
}
.form-input::placeholder {
  opacity: 0;
}
.form-input:focus ~ .form-label, .form-input:valid ~ .form-label {
  top: -8px;
  font-size: .8em;
  cursor: pointer;
}
.form-input:focus::placeholder, .form-input:valid::placeholder {
  opacity: 1;
}

.form-submit {
  width: 100%;
  padding: 10px;
  margin-top: 15px;
  background-color: #009688;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  transition: opacity .15s ease-in-out 0s;
}
.form-submit:hover {
  opacity: .75;
}
Term
Sat, 04/14/2018 - 20:43

Related Codes

Pen ID
Pen ID
Pen ID
Square Adv