3 ms·
That's because the layers are missing a `will-change: transform` property. Adding said property fixes it right up for me. I was tipped off by it being suddenly
by LoganDark 4y ago
That's because the layers are missing a `will-change: transform` property. Adding said property fixes it right up for me.
I was tipped off by it being suddenly super smooth for a second, meaning that the browser was probably applying some heuristic. I added `will-change: transform` and boom. Real-world example of its usefulness!
- kroltan 4y agoI think this website predates the widespread support of will-change, the website first displayed this parallax effect (in a more primitive way) sometime in 2014. caniuse.com tells me the first moment that both Firefox and Chrome supported this property was in early 2015.
- LoganDark 4y agoInteresting. Is it possible that the addition of `will-change` caused browsers to relax their default heuristics, believing that websites would use the property as needed now that it's available?