Categories

CSS

Articles

z-index strategies

Let's go over some ways to keep your z-index usage sane. All in one place Keeping all of your z-indexes in one place, in order…

Theming with current color

This article explores using the currentColor property to theme elements, to avoid writing extra CSS to override color. In cases…

Magic numbers in css

A magic number is a number or value in code that does not have an explicit meaning. In CSS maybe we don't have to be too strict…

My css color system

My approach to color usage is similar to a "no magic numbers" rule that you might find in javascript, where colors are always…