Advertisement
HTML & CSS

Quick Tip: Work Backward to Understand Structural Pseudo Classes

by

Have you ever seen those scary looking CSS structural pseudo classes, like li:nth-child(4n+2)? Can you enunciate exactly what that means? If not, don't worry; I'll teach you how easy this is to understand -- once you work backward!


See What I Mean?

The key to figuring these things out is to work from right to left! Now it's easy to understand. If you enjoyed this video quick tip, don't forget that we have a seemingly never-ending span of video quick tip on Nettuts+ - ranging from .NET, to CSS, to JavaScript!

Related Posts