if box width is less than css code example
Example 1: border-box css
#example1 {
box-sizing: border-box;
}
Example 2: * box-sizing border-box
*{
box-sizing: border-box;
}
#example1 {
box-sizing: border-box;
}
*{
box-sizing: border-box;
}