Categories

CSS

  • 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…

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

  • 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 approach to color usage is similar to a "no magic numbers" rule that you might find in javascript, where colors are always…