DEV Community

Discussion on: Tips to consider when styling with CSS

Collapse
fcalderan profile image
Info Comment hidden by post author - thread only visible in this permalink
Fabrizio Calderan

I think it could be useful at least a basic explanation about why one must set the box-sizing property like so. There's nothing intrinsically wrong with content-box as far as you are aware how the box-model works, but you could spend some lines to tell which benefit has border-box.

Some comments have been hidden by the post's author - find out more