I’m really excited to announce that CSS: The Definitive Guide, Fourth Edition, is being released one piece at a time.
As announced last week on the O’Reilly Tools of Change for Publishing blog, the next edition of CSS:TDG will be released chapter by chapter. As each one is finished, it will go into production right away instead of waiting for the entire omnibus book to be completed. You’ll be able to get each standalone as an e-book, a print-on-demand paper copy, or even as both if that’s how you roll. I’ve taken to calling these “pre-books”, which I hope isn’t too confusing or inaccurate.
There are a lot of advantages to this, which I wrote about in some detail for the TOC post. Boiled down, they are: accuracy, agility, and à la carte. If you have the e-book version, then updates can be downloaded for free as errata are corrected or rewrites are triggered by changes to CSS itself. And, of course, you can only buy the pre-books that interest you, if you don’t feel like you need the whole thing.
I should clarify that not every pre-book is a single chapter; occasionally, more than one chapter of the final product will be bundled together into a single pre-book. For example, Selectors, Specificity, and the Cascade is actually chapters 2 and 3 of the final book combined. It just made no sense to sell them separately, so we didn’t. “Values, Units, and Colors”. on the other hand, is Chapter 4 all by itself. (So if anyone was wondering about the pricing differences between those two pre-books, there’s your explanation.)
If you want to see what the e-book versions are like, CSS and Documents (otherwise known as Chapter 1) has been given the low, low price of $0.00. Give it a whirl, see if you like the way the pre-books work as bits.
My current plan is to work through the chapters sequentially, but I’m always willing to depart from that plan if it seems like a good idea. What amuses me about all this is the way the writing of CSS: The Definitive Guide has come to mirror CSS itself—split up into modules that can be tackled independently of the others, and eventually collected into a snapshot tome that reflects a point in time instead of an overarching version number.
Every pre-book is a significantly updated version of their third-edition counterparts, though of course a great deal of material has stayed the same. In some cases I rewrote or rearranged existing sections for greater clarity, and in all but “CSS and Documents” I’ve added a fair amount of new material. I think they’re just as useful today as the older editions were in their day, and I hope you’ll agree.
Just to reiterate, these are the three pre-books currently available:
- CSS and Documents (free) — the basics of CSS and how it’s associated with HTML, covering things like
style as well as obscure topics like HTTP header linking
- Selectors, Specificity, and the Cascade — including all of the level 3 selectors, examples of use, and how conflicts are resolved
- Values, Units, and Colors — fairly up to date, including HSL/HSLa/RGBa and the full run of X11-based keywords, and also the newest units except for the very, very latest—and as they firm up and gain support, we’ll add them into an update!
As future pre-books come out, I’ll definitely announce them here and in the usual social spaces. I really think this is a good move for the book and the topic, and I’m very excited to explore this method of publishing with O’Reilly!