Earlier quoted context omitted.
Some modern browsers suck, especially if you also can't view local unsigned pages which makes development like, impossible.
No, localhost works fine. But LAN does warn.
3D in CSS
91–99 of 99 posts
Re: 3D in CSS
#92Re: 3D in CSS
#93Re: 3D in CSS
#94Earlier quoted context omitted.
Interesting, it's laggy even on my M1 macbook + Firefox.
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!
caniuse.com tells me the first moment that both Firefox and Chrome supported this property was in early 2015.
Re: 3D in CSS
#95Earlier quoted context omitted.
Interesting, it's laggy even on my M1 macbook + Firefox.
It's not performance laggy, it's moving the layers. Probably something wrong with the math, because if take the scrollbar and move it slowly you would notice how some layers starts to bob up and down, instead of monotonic movement.
Re: 3D in CSS
#96Re: 3D in CSS
#97Earlier quoted context omitted.
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!
I 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.
Re: 3D in CSS
#98Re: 3D in CSS
#99Does that website have an RSS feed?