Answer the question
In order to leave comments, you need to log in
How to remove site shift when scrollbar appears?
When a stripe appears, the site shifts to the left by a few pixels. How to remove this effect? So that, regardless of the presence / absence of a strip, the site is always in 1st place.
I found a lot of articles, but they are all quite old, is there already a more elegant way?
Without JS preferably)
Answer the question
In order to leave comments, you need to log in
The layout should be correct, adaptive and initially not under 1920 pixels, but under 1900, taking into account that the scrollbar takes 20 pixels.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question