3.12 CSS Properties
For the remainder of this chapter, we’ll focus on CSS properties. As you know from prior examples, a CSS property specifies one aspect of an HTML element’s appearance. The W3C’s CSS3 standard provides many CSS properties (more than a hundred), so there is great flexibility in terms of specifying appearances. Remembering all those properties and the types of values associated with them can be daunting. Unless you’ve got the memory of a sea lion,3 you’ll probably need to use a CSS reference and look things up every now and then.
The W3C and the WHATWG have CSS references, but, unfortunately, they’re rather disjointed, which can make them difficult to navigate. The Mozilla Developer Network has a more user-friendly CSS reference ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access