Magic numbers can be seen as very benign on smaller projects, examples and individual cases, but they can really make our jobs difficult when adding new features, fixing issues and maintaining the website. Soon you’ll find yourself adding magic numbers to fix issues caused by other magic numbers, but also potentially causing new issues down the line.
Posts filtered by tag: CSS
Vertical rhythm is a very simple concept in web design and web development. It makes the page feel consistent and visually plesant. Maintaining the rhythm accross the site, especially on larger collaborative projects, can be quite a challenge. With SASS, LESS and now the CSS variables, configuring and maintaining the vertical rhythm has never been easier. In this article, we are going to cover the very basics of vertical rhythm and how to implement it using CSS variables.