how to fix box in css code example
Example 1: border-box css
#example1 {
box-sizing: border-box;
}
Example 2: difference bw box and border box
.alligator-box {
box-sizing: content-box;
width: 125px;
height: 125px;
border-width: 10px;
padding: 40px;
}