A CSS book for web developers
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Crawling
Running
Walking
.gitignore
LICENSE.txt
README.md
cover.png
introduction.md
logo.png
outline.md

README.md

CSS in Depth

Update: I'm excited to announce that I have signed with Manning Publications. “Taming CSS” is now “CSS in Depth”. I am keeping the early drafts of these first chapters here for now, but be aware that these are rough; they have come a long way since. The book is available for sale at manning.com

This does mean that further updates to the manuscript will not be available here on GitHub. For that, I am sorry. But after consideration, I have decided that working with the publisher will help me to produce a much higher-quality book in the end, and hopefully enable the book to reach a larger audience.

Follow @CSSinDepth on Twitter for updates.

This is a book taking a comprehensive look at how to write and maintain CSS. It is written primarily for web developers, but I start with the basics so anybody should be able to pick up and follow along. For more on why I am writing it and what sets it apart from other CSS books out there, I invite you to read the Introduction.

Initial drafts

These are not the newest versions of these chapters; these are very rough drafts as I've had them here on GitHub. Note the chapter numbers don't align with the current Table of Contents.

Table of Contents

Part I: Fundamentals

  1. Cascading style sheets
  2. Getting started
  3. Styling Essentials
  4. Cascade, specificity, and inheritance
  5. Data types and units
  6. Document flow
  7. The box model and element sizing
  8. Development workflow
  9. Cross-browser development

Part II: Going deeper

  1. Advanced selectors
  2. Organization methodology
  3. Floats
  4. Flexbox
  5. The position property
  6. Pseudo-elements
  7. Lists
  8. Backgrounds
  9. Forms
  10. Preprocessors
  11. Responsive design

Part III: From good to great

  1. Transitions
  2. Animations and transformations
  3. Performance
  4. Color
  5. Typography
  6. Building a cohesive user experience
  7. What next?

Appendices

  • A: Intro to Node and NPM
  • B: Setting up a Gulp build process

Mind the overhead bins. Chapters may shift during flight.

Contributing

I welcome feedback. It is still a work in progress, and I want to make it as helpful as possible. There will be a forum for feedback & suggestions on manning.com as soon as the MEAP is available. I will update this page with more information when available.

License & Copyright

These drafts were initially published here under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. This obviously will not extend to the final published version of the book.