
You can disable the parallax effect and/or video background on mobile devices using the option disableParallax and/or disableVideo. Uses ResizeObserver, which has a small browsers compatible. The image will be set on the background.Įxperimental! Automatically recalculates parallax size and position when the size of parallax block changes (dynamic content inside). The image will be set on the background.ĭisable video loading on specific user agents (using regular expression) or with a function return value. More info here - Issue 13.ĭisable parallax on specific user agents (using regular expression) or with a function return value. Use a custom DOM / jQuery element to check if there is a parallax block in viewport. Keep the tag in it's default place after Jarallax inited. Supports only background-position values. If you use the tag for background, you should add object-position values, else use the background-position values. If you use the tag for background, you should add object-fit values, else use the background-size values. Image tag that will be used as the background. By default use an image from the background. Scroll, scale, opacity, scroll-opacity, scale-opacity. Perspiciatis commodi porro, cumque provident rem corporis odit, ut quas dolores maxime nesciunt possimus quis, soluta velit debitis amet, veritatis cupiditate reprehenderit. Perspiciatis commodi porro, cumque provident rem corporis odit, ut quas dolores maxime nesciunt possimus quis, soluta velit debitis amet, veritatis cupiditate reprehenderit.Lorem ipsum dolor sit amet, consectetur quis elit.

The header will be a single clean top area of the web page where you can include logo and navigation etc.

BACKGROUND IMAGE PARALLAX CSS HOW TO
Perspiciatis commodi porro, cumque provident rem corporis odit, ut quas dolores maxime nesciunt possimus quis, soluta velit debitis amet, veritatis cupiditate reprehenderit.Lorem ipsum dolor sit amet, consectetur quis elit. How to Create Parallax Background Image with Pure CSS We will define each section separately like we will have the header, content parallax area, and footer. Lorem ipsum dolor sit amet, consectetur quis elit.
