In CSS, the total width of an element is defined as code example Example: box sizing border box *{ box-sizing: border-box; }