Parallax background image scroll

.parallax.scroll { background: 50% 0 repeat fixed; margin: 0 auto; width: 100%; max-width: 1920px; position: relative; height: 650px; background-position: center; &.no-parallax { background-attachment: scroll !important } }
Smooth parallax effect for background images on scroll (images move with scroll)
Needs javascript - https://codepad.co/snippet/N9dVpbaG - to work properly.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.