This post shares some of Alvaro Montoro's trusty CSS one-liners to enhance web projects, such as limiting content width, increasing text size and line spacing, balancing headings, and reducing animations. Additionally, the author adds helpful snippets for global border-box sizing, using system fonts, preventing horizontal overflow, and providing padding for the body element.

3m read timeFrom css-tricks.com
Post cover image
Table of contents
Global border-box sizingSystem fontsCut horizontal overflow from the <body>Give the <body> some breathing room
3 Comments

Sort: