Margin not working correctly?

https://jsfiddle.net/yb7wm59q/
Set the margin value to 0, but still the padding is.
March 20th 20 at 11:48
1 answer
March 20th 20 at 11:50
Solution
body { margin: 0 }
Why is it so? Body and so the whole area - allene_Luettgen commented on March 20th 20 at 11:53
@Victor.Kuphal, in the body by default has a padding of 8 pixels if I'm not mistaken, although in different browsers can be different. That would allow css to the common view in all browsers use reset css styles. Read about it. - forest_Mohr48 commented on March 20th 20 at 11:56

Find more questions by tags CSSHTML