Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
  <div class="form-item">
  
    <label for="user-email" class="form-label">enter your email</label>
    <input type="email" id="user-email" class="form-input" placeholder="enter your email here">
  
  </div>
  
</body>
</html>
 
.form-item {
  width: 400px;
  margin: 3rem auto;
  position: relative;
}
.form-label {
  position: absolute;
  top: -13px;
  left: 7px;
  padding: 5px 10px;
  background: #fff;
}
.form-input {
  width: 100%;
  display: block;
  height: 44px;
  padding: 5px 5%;
  border-radius: 10px;
  border: 1px solid #ccc;
} 
/*  *********  */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:active,
input:-webkit-autofill:focus {
    background-color: #FFFFFF !important;
    color: #555 !important;
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    -webkit-text-fill-color: #555555 !important;
    }
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers