Work Backwards to Understand CSS Structural Pseudo Classes

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
7,804
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 15, 2010

Who would have thought that the key to understanding complicated selectors like li:nth-child(4n+5) is to work backwards!

Category:

Film & Animation

Tags:

License:

Standard YouTube License

  • likes, 3 dislikes

Link to this comment:

Share to:
see all

All Comments (22)

Sign In or Sign Up now to post a comment!
  • post the code please, im too lazy :(

  • Thank you so much for this tutorial, the xn trick is very useful, I can now style every other row in tables of data to make it clearer! :D

  • this is absolutely awesome. I'm kinda new to css. When I make 3 columns, each inside a div with the same class, it happens the same as with the image. How to I remove the margin on the last one without creating another class? Is there a trick like this one? Pls help

  • Great tutorial!

    but what about browser support? can you write something about it?

  • Yay! I'm showing this to my precalculus and calculus classes for when they ask, "When will we ever use sequences?"

  • brilliant!

  • Great tip!

    Thanks!

  • Great tip!

    Thanks!

  • Awesome job! Thanks :)

  • @ElguapoRll Sometimes it feels like IE doesn't have support for anything useful...

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more