Pure CSS Twitter Fail Whale
subcide.com
subcide.com
... stranger angles (such as the strings) are masked using containers with overflow: hidden
Hum, am I the only one who wonders why we have to reinvent, in 2010, a graphics language, and everyone seems to think it's cool?
Even on the Apple II you didn't to do such ugly hacks. Why now?
If everyone only did something the "right" way, and the simplest way, the world would be a very uninteresting place.
Yes, we have SVG, canvas, etc., but they aren't supported widely enough. Even if you ignore that and focus on the browsers with the best (X)HTML+SVG support, do the layout & design using SVG and the typesetting with HTML/CSS, the resulting markup and CSS aren't pretty at all - again, SVG is good for vector art, not laying out interactive pages.
Canvas is generic enough to do pretty much anything, but it's very low level. It's like the X server - you still need all the toolkit infrastructure on top to get anything done in most cases. This is fine for animations, games, etc. of course.
So yes, this particular animation could have been better implemented using SVG or canvas. Sure, it's interesting doing it with CSS3, but the sad thing is that it's more than that: the weird hacks required aren't far removed from the ones you need to use in practice, because the 'right' way you mention currently doesn't exist for the vast majority of what we do on the web.
It's more than a cool hack - it's a demonstration (intentional or not) that it's 2010 and we're still fighting our presentation languages.
The recent "X in pure CSS" theme is important as it shows how advanced CSS3 is. They are tech demos, which as we know are often not meant to be anything more than that. They display how far you can bend CSS and nothing more. Just like the Blendtech ads, if someone cut down a tree with a pocket knife in an afternoon I bet 1/2 of us would run out to buy that knife.
If an artist had done this using more standard tools and rendered it as SVG no one would care. I think you've completely missed the point.
edit: It seems that psadauskas made this point some time ago. http://news.ycombinator.com/item?id=1428943
However, "look what I can do in CSS3" is always fun to see, because it introduces techniques not necessarily just the technology.
Perhaps we can have a small image maker took which generates html5 vs an image.
Now that is great and all and is probably a really nice experiment into doing stuff with CSS, but this is a tiny fraction of what CSS can do being used, but practically, an image takes less memory/cpu to render.
Other than that, very nice job. Wonder if Twitter would use it.
Impressive none the less.