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.
@shukku11
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:
![image|690x280](upload://4u1lPb5DBE9i1DQFWfG2pEftB8f.png