W3C home > Mailing lists > Public > www-style@w3.org > February 2003

Re: Pseudo-elements

From: Tantek Çelik <tantek@cs.stanford.edu>
Date: Wed, 19 Feb 2003 22:48:15 -0800
To: Chris Vincent <dris86@cox.net>, <www-style@w3.org>
Message-ID: <BA79B9E2.21579%tantek@cs.stanford.edu>

On 2/19/03 9:33 PM, "Chris Vincent" <dris86@cox.net> wrote:

> 
> I've always thought it might be useful to be able to do pseudo-elements
> for events other than MouseOver.  For example, you could have
> MouseDown, MouseUp, etc.

For example, you have :active

> Its functionality would be limited, but could
> really ease up the JavaScript use on simple interaction.

Very much agreed.

> You could do 
> rollovers and such with a simple change to the background image.

And many folks have.  Just search for CSS rollovers:

 http://www.google.com/search?q=CSS+rollovers

> If 
> :hover can make it into CSS, why not some others?

Agreed, and plenty others have.  See "Selectors", specifically the section
on UI selectors:

 http://www.w3.org/TR/css3-selectors/#UIstates

> 
> "Intel Inside" - The World's Most Common Warning Label

Funny, I thought the world's most common warning label was:

 "Copyright.  All rights reserved."

Tantek
Received on Thursday, 20 February 2003 01:34:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:19 GMT