form
<!doctype html> <html lang="en">
  <head>
    <title>Form</title>
    
  </head>
  <body>
    <div class="logic-box">
      <h2>Registration</h2>
      <form>
        <div class="user-box">
          
          <input type="email" name="" required="">
          <label>E-mail</label>
        </div>
        <div class="user-box">
          <input type="password" name="" required="">
          <label>Password</label>
        </div>
        <a href="#">
          <span></span>
          <span></span>
          <span></span>
          <span></span>
          To Send </a>
      </form>
    </div>
  </body>
</html>
html{
  height: 100px;
}
body{
  margin:0px;
  padding:0px;
  font-family: sans-serif;
  background: linear-gradient(#141e30, #243b55);
}
.logic-box{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  padding:40px;
 transform: translate(-50%, -50%);
  background: rgba(0,0,0,.5);
  box-sizing: border-box;
  box-shadow: 0 15px 25px rgba(0,0,0,.6);
  border-radius: 10px;
  background: rgba(0,0,0,.5);
  box-sizing: border-box;
  box-shadow: 0 15px 25px rgba(0,0,0,.6);
  border-radius: 10px;
}

.logic-box h2{
  margin: 0 0 30px;
  padding:0px;
  color: #fff;
  text-align:center;
}

.logic-box .user-box{
  position:relative;
}

.logic-box .user-box input{
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  color: #fff;
  margin-bottom: 30px;
  border:none;
  border-bottom: 1px solid #fff;
  outline: none;
  background:transparent;
}

.logic-box .user-box label{
  position: absolute;
  top: 0;
  left: 0;
  padding:10px 0;
  font-size:16px;
  color: #fff;
  pointer-events: none;
  transition:.5s;
}

.logic-box .user-box input:focus ~ label,
.logic-box .user-box input:valid ~ label{
  top: -20px;
  left: 0;
  color: #ff8d00;
  font-size: 12px;
}

.logic-box form a{
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  color: #ff8d00;
  font-size:16px;
  text-decoration:none;
  text-transform: uppercase;
  overflow:hidden;
  transition:.5s;
  margin-top: 40px;
  letter-spacing: 4px;
}

.logic-box a:hover{
   background: #ff8d00;
  color: #fff;ff8d00
  border-radius: 5px;
  box-shadow: 0 0 5px #ff8d00,
              0 0 25px #ff8d00,
              0 0 50px #ff8d00,
              0 0 100px #ff8d00;
}

.logic-box a span{
  position: absolute;
  display: block;
}



























/* ESLint rules https://eslint.org/docs/2.0.0/rules/ */
/* eslint no-undef: "off" */
  • Files
  • Index
  • Style
  • Script
  • README
  • CDN Add
HTML
PLEASE WAIT...