Day 19: the placeholder-shown pseudo-class

from blog Manuel Matuzović - Blog, | ↗ original
↗ original
You can use the :placeholder-shown pseudo-class to select input fields with a placeholder that haven't been filled out yet.input:placeholder-shown { outline: 5px solid blue; } Name E-Mail input:placeholder-shown { outline: 5px solid blue; } Name E-Mail PS: Yeah, I know, that one has been around for quite a while...