I have this CSS rule for the image:
.post-img {
width: 100%;
height: auto;
margin: 100px;
}
I set margin:100px for the .post-img, we know that this image takes the width of his parent, but why when we set this margin it goes outside of the header (parent element), it not supposed to fit inside his parent?