Is there a way to make the header height adjust automatically when the window width is reduced, similar to the first picture shown below? Unfortunately, I am required to use a parent style that specifies the div height (height:90px
) and I am unable to remove this line. As a result, the height remains fixed, as seen in the second picture.
Any suggestions on how to eliminate the height:90px
line from the code? You can find the code here: https://jsfiddle.net/qhk8uh3z/5/