W3.CSSLesson 22Free preview
W3.CSS Fonts
This lesson is part of W3.CSS · All levels
Summary
Font settings determine the ease of reading greater than any decor. W3.CSS uses a built-in sans-serif font family, and you're free to replace it with CSS or load web fonts from an external service. In addition to font types, the size and height of the lines also need to be kept in order not to weary the eye.
Key points
- Font-family uses a backup list so that text remains visible even if the font is not there
- Web fonts are loaded through an external stylesheet and then called by name.
- Brake units are more friendly to scale than fixed pixels
- The program code should be using monospace fonts
- The size of the letters makes reading on the phone difficult
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.