Animated Gifs look crappy, the file size is huge and quality settings are limited. I've been asking myself, how can we do better?

On that note, has anyone played with (progressively enhanced) CSS animated PNG sequences for video?

I realize mobile/bandwidth, flickering and other issues prevent this type of technique from being used (for large videos), but I'm curious if anyone sees potential for this (for example inhouse/enterprise emails)?