I have a background image placed in div, i set it’s width to 110% so it will be bigger, however I need to hide it’s overflow, the problem is that if I hide overflow in html or body then overflow of my content is also not visible.
I made this demonstration, let’s say image is background and white division is content wrapper. How can I make my browser to scroll content wrapper, but not image.
set your image as background in the body, with background-position fixed.
Problem solved