box size in css code example
Example 1: border-box css
#example1 {
box-sizing: border-box;
}
Example 2: box sizing
html {
box-sizing: border-box;
}
*,
*:before, *:after {
box-sizing: inherit;
}
#example1 {
box-sizing: border-box;
}
html {
box-sizing: border-box;
}
*,
*:before, *:after {
box-sizing: inherit;
}