W3C home > Mailing lists > Public > www-style@w3.org > March 2001

Re: css3 :nth-child() WD

From: Daniel Glazman <glazman@netscape.com>
Date: Fri, 02 Mar 2001 10:06:22 +0100
Message-ID: <3A9F628E.1010007@netscape.com>
To: Jonas Sicking <sicking@bigfoot.com>
CC: www-style@w3.org
Jonas Sicking wrote:

> I agree my proposal is a bit more complicated but it also adds much extra
> functionallity, such as rules for "three lines white, three lines gray..."

tr:nth-child(6n+1), tr:nth-child(6n+2), tr:nth-child(6n+3)
     { background-color : silver }
tr:nth-child(6n+4), tr:nth-child(6n+5), tr:nth-child(6n)
     { background-color : white}

</Daniel>
Received on Friday, 2 March 2001 13:08:58 GMT

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