Set margin, padding, border, and size to see the box model live.
The box model
Every element has four layers: margin β border β padding β content. Understanding this is key to debugging layout issues.
Use box-sizing: border-box to make width include padding and border β itβs what every CSS reset does.