floating input labels

A neat trick I wanted to bookmark-slash-promote: in addition to pseudo-placeholder text on the input field, it slides down to the edge when the user is actually typing rather than disappearing entirely. Saves space, although possibly at the cost of accessibility.

“Float Labels with CSS” at CSS Tricks

Leave a Reply

Your email address will not be published. Required fields are marked *