Background Parallax Image Fix in Sliders or Content

Published June 4, 2019 | Categories: Web Development
If your project requires parallax background images, you'll want to keep this note in mind. If your slider or content area that the parallax resides in has a 3D transform attached, you'll want to remove that code for the background parallax image to properly work. You'll notice it works well in Chrome and Safari before doing this, but other browsers such as Edge and Firefox would not properly work.
Example code to update:
.parent {
-webkit-transform: none;
-moz-transform: none;
-ms-transform: none;
-o-transform: none;
transform: none;
}
.sibling {
background-attachment: fixed;
}
Recent Posts

Hello from Beaconville: High Ed Conference Wrap-Up
View this Story

Cue the Confetti: Celebrating 2022's Higher Ed Wins So Far
View this Story

Beacon Technologies Opens Second Location in Carolina Beach, NC
View this Story

Why You Need Audience Personas For Your Website Content
View this Story