Appendix B. CSS Values
In Chapter 6, we briefly discussed the values that could be used with different CSS properties. In this appendix, we’ll look at values for lengths, fonts, URLs, and colors in more detail.
Lengths
Lengths (width or height) can be set using a variety of units, but there are two basic types of length values:
Relative lengths: Length is calculated by the browser relative to another specific value. | |
Absolute lengths: Lengths remain constant ... |
Get Speaking in Styles: Fundamentals of CSS for Web Designers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.