TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Pure CSS3 dancing Bender

245 pointsby syswsiover 11 years ago

31 comments

liamondropover 11 years ago
Not to detract from the creativity here, but the id attribute specifies its element&#x27;s <i>unique</i> identifier[1]. Strictly speaking, this should never happen:<p><pre><code> &lt;div id=&quot;b7&quot;&gt; &lt;div id=&quot;b71&quot;&gt; &lt;div id=&quot;b71&quot;&gt; &lt;div id=&quot;b71&quot;&gt; &lt;div id=&quot;b71&quot;&gt; ... </code></pre> [1] <a href="http://www.w3.org/TR/2013/WD-html51-20130528/dom.html#the-id-attribute" rel="nofollow">http:&#x2F;&#x2F;www.w3.org&#x2F;TR&#x2F;2013&#x2F;WD-html51-20130528&#x2F;dom.html#the-id...</a>
评论 #6597302 未加载
评论 #6597153 未加载
评论 #6597020 未加载
apaprockiover 11 years ago
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...)<p>For more practical CSS madness, I&#x27;d recommend Ana Tudor&#x27;s creations[1]. She had a cool talk at CSSConf.eu about the math behind building some of her CSS creations.[2]<p>[1]: <a href="http://codepen.io/thebabydino/public/" rel="nofollow">http:&#x2F;&#x2F;codepen.io&#x2F;thebabydino&#x2F;public&#x2F;</a><p>[2]: <a href="http://www.youtube.com/watch?v=w9HeWBH_kvg" rel="nofollow">http:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=w9HeWBH_kvg</a>
评论 #6597339 未加载
评论 #6597405 未加载
评论 #6596552 未加载
lele0108over 11 years ago
Pure CSS horse: <a href="http://codepen.io/anon/pen/tvaio" rel="nofollow">http:&#x2F;&#x2F;codepen.io&#x2F;anon&#x2F;pen&#x2F;tvaio</a>
评论 #6596928 未加载
评论 #6596800 未加载
评论 #6596831 未加载
评论 #6597567 未加载
评论 #6597091 未加载
lubujacksonover 11 years ago
How does.. I don&#x27;t even...<p>Is there some tool they used to make this? Because my human brain can&#x27;t imagine how this came to exist.
评论 #6596786 未加载
评论 #6596847 未加载
null_ptrover 11 years ago
The legs slide horizontally off Bender&#x27;s ass on Firefox 24 on Linux :-( Nevertheless, great work!
评论 #6596590 未加载
评论 #6596694 未加载
评论 #6596841 未加载
评论 #6596628 未加载
评论 #6596819 未加载
评论 #6597820 未加载
评论 #6596777 未加载
Tyrant505over 11 years ago
For those of you who are bound to ask the point, this is pure hacking. You are given a technology and you produce a result, sometimes for the fun of it! Thanks for this! I learned a bit.
digitailorover 11 years ago
I love when people see the potential to use HTML structure as a makeshift DAG. Similarly, once the DOM got fully grokked in the mid-2000s, it was if the web changed overnight. From flat documents to a flexible graph. And to do this without JS? We&#x27;re talking no actual imperative code here, just dead structure and presentation markup.<p>This is one of the first CSS animations I&#x27;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&#x27;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&#x27;re using as a fly-by-night DAG? For a non-commercial passion project? The creator of this was in the ZONE!<p>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.
arbutusover 11 years ago
This is really neat. I&#x27;m really interested in seeing how all these new fancy CSS3&#x2F;HTML5 features shape the evolution of casual online games. Back in the day it was either static images, like the Neopets sort of thing (which are still pretty common with young kids I think - Webkinz is a cash cow and that site looks straight out of my childhood), or slow awful Flash games that usually didn&#x27;t have any data persistence. Even if this Bender example is kind of hacky as other comments are indicating, the possibilities still seem pretty limitless.
评论 #6596716 未加载
bltover 11 years ago
It seems like we should be seeing heavy duty graphical editors that output CSS3 animations. Any tools exist yet?
评论 #6597088 未加载
评论 #6597747 未加载
ck2over 11 years ago
I can&#x27;t believe this show is off the air. Again. Forever. :-(<p>Anyways, I hope ad people don&#x27;t catch on to how CSS is a bit harder to block than JS.
larkinrichardsover 11 years ago
Try zooming in your web browser for a ghostly -- some might say spooky -- disembodied bender.<p>Just in time for halloween.
BinaryBulletover 11 years ago
Unfortunately Bandcamp&#x27;s embed doesn&#x27;t seem to be working in Firefox&#x2F;liveweave for me, but here&#x27;s a theme song added:<p><a href="http://liveweave.com/bhu7HB" rel="nofollow">http:&#x2F;&#x2F;liveweave.com&#x2F;bhu7HB</a>
sownover 11 years ago
neat!<p>I&#x27;ve gotten into CSS3 and JS recently but I&#x27;m not sure how this works.<p>Can someone explain to this old C dog the principles of how it works, though? I thought this would require JS to work?<p>I apologize in advance for being out of touch. :(
评论 #6596668 未加载
dreenover 11 years ago
After a while the legs and to some degree arms go out of sync with the rest <a href="http://i.imgur.com/EMGqXA3.png" rel="nofollow">http:&#x2F;&#x2F;i.imgur.com&#x2F;EMGqXA3.png</a>
kaoDover 11 years ago
Several &lt;div&gt;s with the same id... heresy!
moreentropyover 11 years ago
Made my day. I need this for my 404 pages.<p>Is anything known about the author or license of this work? Will Comedy Central likely object?
yngcccover 11 years ago
remind me of CSS 3D teapot.<p><a href="http://yow.eventer.com/yow-2012-1012/the-story-of-the-teapot-in-html-by-brian-beckman-and-erik-meijer-1266" rel="nofollow">http:&#x2F;&#x2F;yow.eventer.com&#x2F;yow-2012-1012&#x2F;the-story-of-the-teapot...</a>
ciriarteover 11 years ago
Lovely, congratulations. This kind of thing inspires me to learn more and more!
pouzyover 11 years ago
This must be what CSS3 has been invented for. I can die in peace now.
northbandover 11 years ago
Looks awesome while listening to Another Brick In The Wall Pt.2
mustaphaover 11 years ago
Always find myself stunned by the capabilities of CSS.
mattkreaover 11 years ago
What people can do in CSS3 blows my mind. I love this!
kfuryover 11 years ago
The real Bender&#x27;s eyes have square pupils.
smailiover 11 years ago
Hacker&#x27;s equivalent of animated gif :)
J_Darnleyover 11 years ago
I call bullshit on the &quot;pure css&quot; part. Nothing works if you have javascript turned off.
评论 #6597870 未加载
评论 #6597907 未加载
pvnickover 11 years ago
Impressive! Great job.
filipedeschampsover 11 years ago
Just WOW. Good job.
AtTheLastover 11 years ago
Ha. This is great!
browserspotover 11 years ago
holy mother of god! this is absolutely awesome!
deadsnakeover 11 years ago
Guess CSS is basically a Turing complete language.
xer0xover 11 years ago
boom!