<form>
  <div>
    <label for="name">Name</label>
    <input type="text" placeholder="Type your name" id="name" name="name">
  </div>
</form>
@-webkit-keyframes pulse {
  0%   { opacity: 1; }
  50%   { opacity: .5; }
  100% { opacity: 1; }
}
@-moz-keyframes pulse {
  0%   { opacity: 1; }
  50%   { opacity: .5; }
  100% { opacity: 1; }
}
@-o-keyframes pulse {
  0%   { opacity: 1; }
  50%   { opacity: .5; }
  100% { opacity: 1; }
}
@keyframes pulse {
  0%   { opacity: 1; }
  50%   { opacity: .5; }
  100% { opacity: 1; }
}

[placeholder]:focus::-webkit-input-placeholder {
  -webkit-animation: pulse 2s infinite;
  -moz-animation:    pulse 2s infinite;
  -o-animation:      pulse 2s infinite;
  animation:         pulse 2s infinite;
  
}

body {
  background: #f06d06;
  text-align: center;
}
form {
  display: inline-block;
  margin-top: 20px;
}
label {
  display: block;
  text-align: left;
  font: bold 0.8em Sans-Serif;
  text-transform: uppercase;
}
.left-label {
  float: left;
  padding: 8px 5px 0 0;
}
input[type=text] {
  padding: 5px;
  text-indent: 0;
}
form div {
  margin: 20px;
  clear: both;
  text-align: left;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.