Lesson 4 of 10
🎨 CSS Basics
What You'll Learn
- How CSS rules are written: selector, property, value
- How to use class and id selectors
- How to style HTML live in the split-pane editor
Quick Check
1. In CSS, what is the selector in p { color: red; }?
2. How do you write a CSS class selector for a class named "box"?
3. Which is the recommended way to apply CSS to a real project?
4. ID selectors start with which character?