Build form controls with floating labels via the :placeholder-shownpseudo-element. Works in latest Chrome, Safari, Firefox, and IE 10/11 (prefixed).
:placeholder-shown
© 2017-2022