Challenges the common CSS practice of using inheritance for box-sizing properties. Explains why box-sizing should not inherit by default, arguing that box properties naturally don't inherit in CSS and that inheritance gets in the way of flexible layout design. Demonstrates how content-box sizing is still valuable for specific
Table of contents
Box properties should not inheritThere’s no good argument for inheritanceBox-sizing is more useful when it doesn’t inherit!Sort: