This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
ideas:placeholder-styling [2013/01/24 13:18] – [Styling Placeholders] astearns | ideas:placeholder-styling [2013/02/05 19:32] – [Styling Placeholders] note relationship to CSS4-UI Tantek | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Styling Placeholders ====== | ====== Styling Placeholders ====== | ||
+ | |||
+ | [[spec/ | ||
The overarching issue is whether to use a pseudoclass or pseudo-element. | The overarching issue is whether to use a pseudoclass or pseudo-element. | ||
Line 30: | Line 32: | ||
===== On #6 versus #3 ===== | ===== On #6 versus #3 ===== | ||
- | Option 6 (best of both worlds, new names) is preferable to 3 in that the pseudo-class name better represents the element state, and a specific pseudo-element for the suggested text is more clear than styling a ' | + | Option 6 (best of both worlds, new names) is preferable to 3 in that the pseudo-class name better represents the element state, and a specific pseudo-element for the suggested text is more clear than styling a ' |