Wrt. dubina_op I see two issues. Firstly, the <body> defines a width of 100vw which makes it some pixels wider than the html (don't know why). Yes, body should have width: 100%; 100vw = Viewport-width with scrollbar 100% = Viewport-width without scrollbar Secondly, .wrapper1.slider defines a width ...