Closed zacjones93 closed 5 years ago
If needed, a fantastic explanation of CSS can be found on this reddit thread
And a more specific explanation of selectors on the W3 Documentation
A set of CSS selectors pointing to HTML blocks that determine how they're visually styled – colour, fonts, grid layout. Layers of different styles applied over each HTML element.
Keywords: Hierarchy, selection, styles, appearance, specificity, targeting
Glue, tape, holding two things together, staples, magnets,
Arrows, connections across space, wires, string
Two things with the same label, tag, marker
Visual covering over a structure
Interior decoration of a living room/office
Fashion, makeup, decoration
Mix and match building visual systems
Primary Tag
CSS
https://egghead.io/courses/css-selectors-in-depth
Cascading style sheet (CSS) selectors are the glue that connect styling to HTML content. Understanding how they work enables a developer to write more semantic markup and keeps styling modular for better project maintenance. We are going to start with basic selectors and work our way through more complex classification of selectors explaining common use cases along the way. Finally, we’ll look at how selectors can be combined and how selector specificity can create some common problems.