What is Specificity in CSS?
CSS is read from top to bottom, this is important because it means that we need to be mindful about the order in which we select our elements, especially when we're selecting the same element twice. Additionally, CSS uses an algorithm to resolve conflicting rulesets, a point system called specificity.
Read more
Combinator Selectors
This lesson introduces CSS combinator selectors, which allow you to style elements based on their relationships in the document tree. You’ll learn how to use the adjacent sibling (+), general sibling (~), child (>), and descendant (space) combinators. By the end, you’ll understand when to use each selector, the differences between sibling and parent-child relationships, and best practices for writing clean, maintainable CSS with combinators.
Read more
Basic Selectors
A quick introduction to CSS selectors, including elements, classes, IDs, attributes, grouping, and the universal selector. Learn how to target elements effectively while following best practices for clean, scalable stylesheets.
Read more
CSS Syntax Overview
A concise overview of the syntax used in CSS stylesheets
Read more