Removing body margin in CSS
I would say that using: * { margin: 0; padding: 0; } is a bad way of solving this. The reason for the h1 margin popping out of the parent is that the parent does not have a padding. If you add a padding to the parent element of the h1, the margin will be … Read more