Defensive CSS

In this brilliant article, Ahmad Shadeed shares a long list of defensive CSS techniques to avoid possible issues

Defensive CSS is a collection of snippets that can help you in writing CSS that is protected. In other words, you will have fewer issues in the future.

Think of things such as not using fixed values for heights, thinking about word wrapping, including fallback values for CSS Custom Properties, etc.

Defensive CSS →

Published by Bramus!

Bramus is a frontend web developer from Belgium, working as a Chrome Developer Relations Engineer at Google. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since (more …)

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.