I am trying to create a hero scroll interaction so that an image moves offscreen as you scroll down. The main issue I seem to be running into is that once offscreen the horizontal scroll bar kicks in. I am sure I am missing something but not sure what it is. Any help is much appreciated!
Try adding 1 more layer inside the main wrapper … the main wrapper can be full width and will have inner padding then … add another div… and put content in there and make that one overflow:hidden… should stop the scrolling. Take care.
Thank you very much
Not a problem… Have fun!