LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code



  Pen by Ref
  
  



  
Javascript password
You Need to login

CSS
/* Pen css */
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");
@import url("https://fonts.googleapis.com/css?family=Berkshire+Swash|Oswald");
html {
  background: #fff;
}
.maindiv {
  text-align: center;
}
.passtxt,
.log {
  font-size: 40px;
  color: #fff;
  user-select: none;
  padding: 10px;
  transition: top 1s;
  text-shadow: 0px 0px 5px #000;
  font-family: oswald;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
}
.passDiv,
.LoginFormPass {
  text-align: center;
  margin-top: 10px;
}
/* Input styles */
input {
  padding: 0.5em 0.6em;
  display: inline-block;
  border: none;
  border-radius: 1px;
  vertical-align: middle;
  box-sizing: border-box;
  border-bottom: 1px solid #009688;
}
input::placeholder {
  transition: text-indent 1s;
}
input:focus::placeholder {
  transition: text-indent 1s;
  text-indent: 350px;
}
.logForm {
  background-color: transparent;
  color: #000;
  border: none;
  font-family: inherit;
  padding: 0.5em 1em;
  border-radius: 0px;
  width: 16%;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid #1660a0 !important;
}
.all {
  position: relative;
  padding: 110px 50px;
}
JS





//login click function
$('#login').click(function() {
  if ($('#Password').val() == "123"){//password name
$('#logmes').text('Login success !');
} else {
  $('#logmes').text('Wrong password or username.');
}
});
Host Instantly Drag and Drop Website Builder

 

Term
Thu, 02/22/2018 - 17:12

Related Codes

Pen ID
Pen ID
Pen ID