Webkit placeholder attribute behavior

As you probably notice, placeholder behavior has changed in the latest versions of Webkit (Safari and Chrome). If you don’t like it you can have old behavior back with a simple CSS rule

 


input:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder {
  color:transparent;
}
Advertisements