Profile
Achievement
davebowker's Recent SnippetsTagged css
- All /
« Prev 1 Next »
Figure 5. Selecting the first-child LI elements that descend from a UL element.
By combining the first-child pseudo-class with the adjacent-sibling selector, it's possible to pick children other than the first one. For example, you might want to a...
0
708
posted 15 years ago by davebowker