Div on top of div responsive

I am trying to place div (id=“cover”) inside div (id=“header”) so as I resize browser windows cover width with adjust as well up until it reaches certain size.

Is it possible to do this? I have this so far https://jsfiddle.net/dr9whr48/4/

I’m not clear on exactly what you mean, but it sounds like you may want to set a max-width for #cover

Again, this is confusing, #cover is not inside #header, they are adjacent siblings.

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.