Apply style to ALL elements

css

Solution

There is a general selector:

*{box-sizing:border-box;}

Problem

One thing I really like doing is defaulting all of my divs to use ``` box-sizing: border-box; ``` It makes it very easy to manage element dimensions. But I want to have this be the default stlye on ALL elements whose display is block and explicitly override this when I need to. Is there any easy way to do this or do I have to manually specify which elements receive this style? I know 99% of these issues will be solved with ``` html, body, div{ box-sizing: border-box; } ``` but there are still plenty of elements that will need this and I'd rather not forget and discover that my page looks like crap.

Original source