webdesigner / coder
Get flash to fully experience Pearltrees
There is a CSS selector which allows you to select the exactly item that you want from a list. This selector is the :nth-child selector, in this tutorial you will learn what you can do with the :nth-child and how it can be helpful. Below is a list which has 10 list items in it, we are going to use :nth-child, :first-child and :last-child to select the items we want to highlight. Use CSS :nth-child To Select Exact Item By passing a number to the nth-child function you can define which child to return from the selector group.