This is nuts -- but sadly dancing Bender is not too practical. (Unless the dancing trend catches on and GitHub releases the dancing Octocat to production...) 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] [1]: http://codepen.io/thebabydino/public/ [2]: http://www.youtube.com/watch?v=w9HeWBH_kvg
Pure CSS3 dancing Bender
51–60 of 67 posts
Re: Pure CSS3 dancing Bender
#52This 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.
Re: Pure CSS3 dancing Bender
#53Pure CSS horse: http://codepen.io/anon/pen/tvaio
Fail!
Re: Pure CSS3 dancing Bender
#54Not to detract from the creativity here, but the id attribute specifies its element's unique identifier[1]. Strictly speaking, this should never happen: ... [1] http://www.w3.org/TR/2013/WD-html51-20130528/dom.html#the-id...
Yeah, not sure why it's not throwing a bunch of jQuery errors in the console
Re: Pure CSS3 dancing Bender
#55Re: Pure CSS3 dancing Bender
#56Not to detract from the creativity here, but the id attribute specifies its element's unique identifier[1]. Strictly speaking, this should never happen: ... [1] http://www.w3.org/TR/2013/WD-html51-20130528/dom.html#the-id...
Yeah, not sure why it's not throwing a bunch of jQuery errors in the console
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.
Re: Pure CSS3 dancing Bender
#57Re: Pure CSS3 dancing Bender
#58It seems like we should be seeing heavy duty graphical editors that output CSS3 animations. Any tools exist yet?
Re: Pure CSS3 dancing Bender
#59Re: Pure CSS3 dancing Bender
#60The legs slide horizontally off Bender's ass on Firefox 24 on Linux :-( Nevertheless, great work!