[Prev][Next][Index][Thread]

Pseudo-Classes and Pseudo-Elements



I recall that the original rationale for using the same syntax for 
both pseudo-classes and elements was that parent-based targeting
wasn't planned for the first release of CSS.  Seeing as this form of
targeting *has* now been incorporated into the language, wouldn't 
it be a better basis for the pseudo-element syntax?  

e.g. 

P $first-line { color: black }

BLOCKQUOTE $first-letter { font-size: 150% }

UL $bullet { color: green }

--
Michael Seaton (mseaton@inforamp.net)