See the Pen box-sizing by Kévin Bizien (@kbizien) on CodePen.
La propriété box-sizing contrôle comment le modèle de boîte est géré pour l'élément auquel il s'applique. Le moèle de boite est utilisé pour calculer la largeur et la hauteur des éléments.

UI & Design System specialist
Want to tell me about your UI project? Contact me at bonjour@kevinbizien.com and we can start talking soon!