W3.CSSLesson 21Free preview
W3.CSS Defaults
This lesson is part of W3.CSS · All levels
Summary
Each page containing W3.CSS automatically acquires an inbuilt style: the font size, distance, text color, and behavior of the basic elements are already set in such a way that the display is consistent. You don't need to rewrite CSS, just tap the part you want to change. Understanding this default helps you to predict the display results before you run it.
Key points
- Inbuilt-style activated automatically without adding any classes
- The text appears dark on a bright background so it can be read immediately.
- The header and paragraph sizes are set to rhythm
- Your CSS can default as long as the selector is more specific.
- DevTools help you see the built-in style that the browser actually uses.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.