Why doesn't the span element get the teal background even though it has class 'box'?
The span does have class 'box' and should get the styles. If it doesn't, check if the CSS selector is correct and if the span actually has the class. In our example, the span has class 'box' but is inline, so padding and background apply but may look different visually.
💡 Remember inline elements like span show background and padding differently than block elements.
If I group selectors with a comma, do all styles apply to every element?
Yes, all styles in the group apply to every element matched by any selector in the group. For example, '.box, p' applies styles to elements with class 'box' and all paragraphs.
💡 Grouping selectors means 'apply these styles to all these different elements'.