loading...

re: 5 CSS tips you didn't know you needed VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Yup, ..to be extra safe :D html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; }
 

It seems like the same thing? :(

No. The second snippet allows you to define a global box-sizing but let elements to inherit or change the behaviour

Oh ok! So your way is better for sure!

Code of Conduct Report abuse