Skip to content

Modèle de boîte

Cf. MDN

À retenir :

css
html {
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}

Plus d’infos :