Source code for https://victorfont.com/workaround-for-chrome-67-parallax-bug/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* apply to any element with 'background-attachment: fixed' kicks in GPU acceleration */ | |
@media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution:.001dpcm) { | |
transform: translate3d(0,0,0); | |
-webkit-transform: translate3d(0,0,0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment