if you use margin: top effect, then the main section can also go out of the content block if overflow condition is not specified, so it’s better to use padding: which specifies that the main section will begin after the given value of padding: top.
Problem :
I have two divs: .content and .main-section, the second inside the first. I am adding a margin-top to .main-section and I expected to see part of .content, but it seems this has a margin-top too. Why this behavior? and How to create a margin between .content and .main-section?