Flying memes

Posts Tagged ‘form’

Using the :required pseudo selector to enhance forms

Sunday, August 14th, 2011

Lately I come up with this idea on how to enhance a form by using the :required pseudo element. What you can do is mix this new pseudo element with the ‘+’ selector in order to modify elements that are adjacent to your input tag, such as the label.

(more…)