Hi - I am following The Ultimate HTML5 & CSS3 Series: Part 2, Chapter 3. When I inspect the box I see the border value of 9.6 even though I set the border to the following value. Why would the browser not use the whole width? Attaching the image for reference.
I would say it’s because of the padding. Try using the following in your .box class: box-sizing: border-box;
That wasn’t it I see that my code has
box-sizing applied to all the elements, yet to no avail.
that is strange . I don’t have the same issue on my pc: