I have a header div as the first element in my wrapper div, but when I add a top margin to a h1 inside the header div it pushes the entire header div down. I realize this ha
Run into this issue today.
overflow: hidden didn't worked as expected when I had more elements followed.
overflow: hidden
So I tried changing the parent div's display property and display: flex worked !!!
display: flex
Hope this may help someone. :)