Hacker News new | ask | show | jobs
CSS filters, GIFs, and performance (medium.com)
75 points by geelen 4731 days ago
7 comments

Appears to be another "the whole world uses Google Chrome" bits of advice.

I bet other browsers have different performance profiles if this even works...

Only Chrome (or webkit-based) support [0], and like the other poster said, blur will be slow unless harnessing the GPU.

[0] https://developer.mozilla.org/en-US/docs/Web/CSS/filter#Brow...

I'd take you up on that bet — the blur filter is always going to be computationally expensive given that has to do Gaussian blur according to the spec. There are faster ways to blur, but they're not as "good".
Latest released FF (from arch) didn't have any problems handling the page. It was quite smooth, but I didn't check the detailed profile.
But is it applying the (slow) CSS blur filter? The article claims the filter is currently only supported by WebKit. Of course it'll render fast if it's not actually rendering anything.
It's definitely blurred. Not sure if it's from the filter, or just a specific way that FF does upscaling.
FF does not support any of three filters nor many others.
Why not simply have a bunch of JPEG's and animate through those? Something like Javascript-powered MJPEG. GIF is awful for animations.
You're probably right, though says in the article "I wanted to do the same thing, but without all that work."

In other words, he has an animated gif and wanted to try some quick css trickery to get the effect.

Really hate the transitions on those slides. I read a lot faster than that, so they are forcing me to read slow, basically.
The typography keeps throwing me off too. The process is:

Bugs Strict mode didn't know existed

That doesn't make sense. Oh wait, there are little words between each of those lines.

24MB of GIFs… I hope the author has a generous bandwidth allowance.
something like CloudFlare CDN would probably make this a non-issue - the actual host would get very few hits.
Still have to pay someone for bandwidth
Definitely one of the best CSS tricks I've learned this year.
that is pretty cool. don't understand why he put other gifs that increases the size of the site.
Love this. Cool hack!