DEV Community

Discussion on: What CSS tip do you want to share with others?

Collapse
 
davecranwell profile image
Dave Cranwell

Regardless how you do CSS, I strongly recommend considering vertical and horizontal "rhythm" (the distance between stuff) as something to apply as utility classes directly to HTML.

All too often CSS starts to get unmaintainable as people try to teach a previously standalone component how to position itself relative to its surroundings in a growing range of situations.