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
display: flex will work in this case. Give parent element display: flex; and then give margin as per your requirement to the h1 tag.
display: flex
display: flex;
h1