W3C home > Mailing lists > Public > www-style@w3.org > October 1996

Pseudo-Classes and Pseudo-Elements

From: Michael Seaton <mseaton@pobox.com> <mseaton@pobox.com>
Date: Thu, 31 Oct 1996 09:02:04 -0500 (EST)
To: www-style@w3.org
Message-ID: <Pine.OSF.3.95.961031063212.3282B-100000@noc.tor.hookup.net>
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?  


P $first-line { color: black }

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

UL $bullet { color: green }

Michael Seaton (mseaton@inforamp.net)
Received on Thursday, 31 October 1996 09:02:01 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:41 UTC