[whatwg] Placeholder option for text input boxes

Am Samstag, den 04.10.2008, 09:30 -0500 schrieb Tab Atkins Jr.:

> If you mean pseudo-element, then certainly.  That would be precisely
> how I would go about pushing this into CSS.  You'd have a ::hint
> pseudoelement with a content property.  Browser stylesheets would
> default it to the value of the parent's @hint attribute.

Like "input:hint { content: attr(placeholder); }" ?

Cheers,

Nils

Received on Sunday, 5 October 2008 10:09:11 UTC