Question d’entretien chez Arpatech

What is the CSS box model?

Réponse à la question d'entretien

Utilisateur anonyme

21 nov. 2025

The CSS box model describes how the size of HTML elements is calculated. Each element is considered a box composed of: content (the inner text or image), padding (space between content and border), border, and margin (space outside the border). Understanding it is crucial for layout, spacing, and designing responsive UI.