Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
/* 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