HomeThe ClassicsFarai's Codelab

Magic Numbers in CSS

Published:

See Magic Numbers in CSS on css-tricks.com

This post goes over why magic numbers, undefined numerical constants, are a bad idea. They’re a bad hack since they work in some situations but not others. Given the dynamic nature of the web, you don’t have much control over the way a site is shown.

If you do use them, you should comment it.