20 years ago when I could first write the CSS with HTML document, we had a limited set of selector choices like– element, classes, ids and descendant selectors.
But now we have dozens and dozens of powerful CSS selectors we can use in your CSS to write more powerful, optimized CSS selectors to maintain our stylesheet.
So in this class discover how to effectively leverage the power of selectors to select the elements you want to style without adding classes, changing HTML, or getting overly specific with your selectors.
In this course, I will demonstrate how to pinpoint specific parts (and groups of parts) in an HTML document using the powerful declarative syntax of CSS selectors.
I will cover combinator selectors, attribute selectors, pseudo–class and pseudo–element selectors, and the universal selector.
Targeting elements, classes and IDs
Working with compound and group selectors
Targeting parent, child, and sibling elements (combinator)
Targeting element attributes
Targeting links with pseudo–class selectors
Targeting child elements and empty elements
Working with negation elements
Specification: Advance CSS Selectors: The Complete Guide (2022 Edition)