Descendant selectors and classes in CSS. Descendant selectors are more specific than simple tag selectors, so they take precedence over those. Class selectors are usually used to differentiate otherwise similar/identical elements from each other.
Descendant selector: http://www.w3schools.com/cssref/sel_e...
Class selector: http://www.w3schools.com/cssref/sel_c...
GeekLaunch produces educational videos covering such topics as Linux, web development (including HTML5, CSS 3, JavaScript, and PHP), Java programming, tips for power users, among many others. Subscribe: New video every Wednesday!
Not a geek? Start today!