Re:CSS Diner
by chc on Tuesday March 25, 2014 @03:41PM
(#7468391)
The description of :nth-child is misleading here. It would only do that if the first two elements in every DIV were P elements. A more accurate description would be "Selects the second element in each DIV if it is a P." The description given there sounds more like :nth-of-type.
[ Parent
| on HN ]
There are no comments on this comment yet.