@adram3l3ch
Posted
It is caused by you've set position absolute to its child. Position absolute will take the element out of the flow. Since that div is the only child of main if it is gone main will feel empty :(
Marked as helpful
@sanketcharanpahadi
Posted
@adram3l3ch Thanks for explaining so well.