CSS has some great new tools like pseudo classes and pseudo elements for selecting things just by where they are in the DOM. For example, :first-child can select the first descendant of an element or ...
Ryan Boudreaux covers the basics about CSS specificity hierarchy in an effort to make this tricky concept easier to understand. If a CSS rule doesn’t seem to work when it looks like it should and your ...