Skip to content

Form field hints with CSS and JavaScript (Ask the CSS Guy) askthecssguy.com · Archived on · Originally posted on Pinboard

It's a basic example of how helpful a little JavaScript and CSS can be in a form. Instead of the input hints always showing and potentionally cluttering a very simple form, only the hint for the currently focused input will show.