Select Page

The Magic of CSS

The Magic of CSS

CSS is a mess. We all love it, but it’s a mess. Adam likens it to English: there are a bunch of rules, and you can learn them. But sometimes you’re better off just trying shit and seeing what works and what doesn’t. Magic is a codification of what he has learned in that crazy process.

The material in this textbook is intermediate-to-advanced. It assumes an understanding of the CSS syntax, cascading and inheritance, and commonly used selectors. It also assumes you’ve had enough experience with CSS to have learned not to make these common mistakes anymore. All of the codes are also available on Adam’s Github page.

As always, feedback is welcome. He hopes you enjoy reading Magic.


  • The Box
  • Layout
  • Tables
  • Color
  • Typography
  • Transitions

The Magic of CSS

by Adam Schwartz (Online reading only) – 6 chapters

The Magic of CSS by Adam Schwartz

No code. No hassle.

Divi takes the power and freedom of WordPress and adds a wonderful visual design interface on top. Now you get the best of both worlds.