Jump to content

Year

Day

24 ways to impress your friends

Vote up?

  • André Luís http://andr3.net

    Cool overview. CSS3 selectors rock… I use them all the time, specially in JS development. Just make sure you test that your library fully supports them cross-browser.

    I would definitely just add that you can use both :nth-child and :nth-last-child to achieve restrictions depending on the number of sibling elements.

    Have a look at:
    http://andr3.net/blog/post/142