Pure CSS3 dancing Bender
liveweave.com
liveweave.com
<div id="b7">
<div id="b71">
<div id="b71">
<div id="b71">
<div id="b71">
...
[1] http://www.w3.org/TR/2013/WD-html51-20130528/dom.html#the-id...Multiple elements with the same ID is wrong of course, so you can't guarantee what will happen if you use and ID based selector: three equally (in)correct interpretations would be "act on the first element you find with that ID", "act on all elements with that ID", and "error because we don't expect to find more than one". By breaking the standard you are exposing yourself to undefined behaviour - the browser can do what it likes and each environment might do something different.
It's also an easy mistake to make. All someone has to do is create an element with an ID in a child template without checking to see if that ID is already used in a parent template.
On the note of forgiving browsers, I love how they are a very accepting interpreter of information, much like a human listening to someone's broken English and still understanding what is being said.
For more practical CSS madness, I'd recommend Ana Tudor's creations[1]. She had a cool talk at CSSConf.eu about the math behind building some of her CSS creations.[2]
That was best left in that last century...
For the young ones: http://en.wikipedia.org/wiki/Office_Assistant
And I disagree about the practicality of a dancing bender. It's a tech demo if nothing else. I can picture a future where things like this are much easier to accomplish in CSS and we move on from using traditional images.
Pure comment gold.
Fail!
Is there some tool they used to make this? Because my human brain can't imagine how this came to exist.
I don't see any magic here. Modern CSS3 lets you build arbitrary geometry with arbitrary animations if you're crazy enough.
What I do see here is an excellent grasp of Cartesian geometry and some serious dedication. Which I suppose is no less magical.
It seems to bring into question the practicality of multi-browser support of these complex 'apps' utilizing fancy CSS and HTML5.
Reminded me the undead break dance from the inXile's Bard's Tale: https://www.youtube.com/watch?v=sP_7nFldRtY
I am wondering if this works in anything aside from Webkit based browsers.
This is one of the first CSS animations I've seen that works flawlessly for me, at least on the iPhone. I also noticed the non-unique ID attrs as is noted below, but let's be real. With that amount of CSS to conceive of and write, would you really glance twice at the twenty lines of HTML you're using as a fly-by-night DAG? For a non-commercial passion project? The creator of this was in the ZONE!
The pure insanity makes me grin and long for the pre-teen days where there was time for this. All the ANSI art, the HyperCard stacks, the strange games made using dirt-cheap language implementations. Sigh, but a nice sigh. Also makes me damn grateful for open source and standards.
I'm not aware of any games that use CSS3 for the ingame graphics, though.
Never used it.
Anyways, I hope ad people don't catch on to how CSS is a bit harder to block than JS.
Just in time for halloween.
I've gotten into CSS3 and JS recently but I'm not sure how this works.
Can someone explain to this old C dog the principles of how it works, though? I thought this would require JS to work?
I apologize in advance for being out of touch. :(
I did this: http://lucianmarin.com/peculiar/
Is anything known about the author or license of this work? Will Comedy Central likely object?
http://yow.eventer.com/yow-2012-1012/the-story-of-the-teapot...
This works if you don't have javascript on: http://fiddle.jshell.net/w5GFR/show/light/