top | item 39548666

(no title)

Pathogen-David | 2 years ago

Yeah, according to https://book.mixu.net/ this was written in 2015, at nine years old I'd be worried about this not being super useful for modern CSS.

discuss

order

avianlyric|2 years ago

The core of CSS, and principles that new CSS features follow, haven’t really changed in decades. It’s just been built upon and refined.

Given these articles are looking an underlying principles of the CSS layout process, I wouldn’t worry about it being out of date. Everything it covers certainly hasn’t changed (because so many websites would be very broken if they had), and new CSS will be built on the fundamental principles laid out here. So even if it doesn’t cover stuff like grid, it will definitely provided much need background information to help you understand the details of how grid works, generally build a better intuition around how both old and new CSS features work.

rchaud|2 years ago

The core of CSS absolutely has changed. Unless you're building a mobile-only site, you're likely using media queries today to target multiple viewport sizes, which wasn't on anybody's radar in 2006.

Much of these changes in CSS have simply beeen obscured by improvements in cross-browser compatibility and use of layout frameworks that hide all the complexity behind simple class names.

In the 2000s, sites were built with the <table> element to simulate a grid.

In the 2010s, it changed twice, first by using floats and CSS reset methods to create responsive columns. Then that went away in favour of Flexbox and Grid, which now have wide browser support.

If you're building sites for IE6 compatibility, then things probably haven't changed much.

nailer|2 years ago

I worry that focusing on old layout techniques and hacks to get them to work, will propagate old layout techniques and hacks to get them to work.