Re: css3 :nth-child() WD

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 UTC