← TechnologyThe essentials of

Border-width: thickness belongs in box-size calculations

Publisher: ResumeMaker • 1 source

Published: 23 Oct 2026 08:23 · Updated: 23 Oct 2026 08:23

AI source check: 22 Oct 2026 16:54. This is not editorial approval.

In a few sentences

In brief

border-width sets border thickness. With content-box, a thicker visible border adds to the content and padding dimensions.

Useful to know

border-width sets border thickness. With content-box, a thicker visible border adds to the content and padding dimensions. [1]

If an active card appears to jump, check whether changing thickness changes its outer size. Equal width alone is insufficient when cards use different borders and box models.

Sources

For further detail and to check the information:

  1. [1] MDN — CSS border-width ↗