CSS: The Definitive Guide by Eric A. Meyer
My rating: 4 of 5 stars
“Definitive Guide” is a fairly accurate title for this 3rd edition of Eric Meyer's CSS textbook; it’s a deep dive of sometimes eye-glazing detail. It’s quite technical in its explanations of the math and calculations that CSS performs. There are CSS snippets and screenshots of the results, but it’d be better if they were in color. The book was published in 2006 so it’s missing CSS3, but given the widespread use of CSS 2.1, the book is still relevant. My favorite topics were floating and positioning, generated content, pseudo-classes and pseudo-elements.
display: none
renders the element invisible, and it doesn’t take up the space it would ordinarily. visibility: hidden
renders the element invisible, but it takes up the space it would ordinarily.