R
R
Raey2019-09-12 00:03:12
css
Raey, 2019-09-12 00:03:12

Why does the background disappear when using the device toolbar?

Please explain why the background disappears if you change the size of the site along the x-axis in the device toolbar (example in the picture).
Link to the example https://orezraey1337.github.io/
I would be grateful for your help.
5d7960f3154d7579092698.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav, 2019-09-12
@Raey

Because the background takes the width of the viewport on this screen is 725px, and the entire content of the containers remains 960px, since the width of the container itself is 940 fixed + 20px padding. The view area seems to be moving away, zooming in the opposite direction, not showing a horizontal scroll, because of this, such an effect occurs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question