If you narrow the window by less than 1000px, a horizontal scroll appears, if you move it, you can see that the div stretches the body more than the scope, but the header does not stretch after it. How can this be fixed?
https://jsfiddle.net/z2rrrcf3/2/
body { display: flex; flex-direction: column; justify-content: space-between; align-items: center; margin: 0; padding: 0; } header { background-color: #000; display: block; align-self: stretch; min-width: 110px; width: 100%; height: 100px; } div { background-color: lightcoral; width: 1000px; height: 100px; height: 100px; } <header></header> <div></div>
@media screen and (min-width: 900px){ ....}- HamSter