Man, this is a powerful teaching technique - I knew all this, but I don't think I really really understood it until just now. I hope more people start writing animated explanations for web stuff. Maybe someone could do one for CSS menu systems or side bar, sticky footer, type stuff. Or even the Bootstrap grid system.
I'm sorry, I have very little experience with web design, but is this the supposed way to create a triangle? It seems weird there would be no way to build shapes with primitives.
I vote we change the name from CSS to PWL. PWL is, of course, Puzzle Web Language. This is what I hate about CSS: it's a jigsaw puzzle that must be brute-forced.<p>The fact that this exists and is lauded as clever rather than being ridiculed for its opaqueness really gets my goat.
I'm the only one here that although thinks it is a cool presentation fells sad about how a triangle needs to be described as a very broken rectangle?
At YOW Australia 2012, Brian Beckman and Erik Meijer gave an entertaining presentation about 'The Story of the Teapot in HTML'. I thought it was going to culminate in a 3d animation of a teapot in a browser using Javascript and CSS triangles, but they didn't get that far.<p>Anyway, here's a link to the video: <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://yow.eventer.com/yow-2012-1012/the-story-of-the-teapot...</a>
Ahhh the hatin' HN crowd. For what it's worth - I've built this bit of CSS over and over but seeing so uniquely presented was great. Thanks for that.
Now animate this using a border with an inner color like this:<p><a href="http://cssarrowplease.com/" rel="nofollow">http://cssarrowplease.com/</a>
I find it depressing how most of CSS related drawing is basically all just hacks. I saw the same a few weeks ago when someone posted a bunch of different CSS shapes - the code behind it was the most unintuitive stuff. It's like saying - here's a bicycle - now lets get another one and weld it together in some ugly way and make a car out of it. I dont understand why CSS / Browsers have not come far enough to natively support basic shapes? Surely if we can make self-driving cars - rendering things in browsers should be simpler? (yes I am aware of SVG & Canvas - but they dont work everywhere - dont get why the good folks at google , ms & mozilla cant get together and agree that the web shouldnt be full of ugly hacks masquerading as stylesheets).
Sweet. Thanks for making this.
It'd be awesome if you could extend the animation and show examples of complex shapes you could make with triangles.
Reminded me of good old one: <a href="http://www.designdetector.com/tips/3DBorderDemo2.html" rel="nofollow">http://www.designdetector.com/tips/3DBorderDemo2.html</a>
For other cool abuse of CSS see
<a href="http://cssdeck.com/labs/creating-single-element-iphone-using-css3" rel="nofollow">http://cssdeck.com/labs/creating-single-element-iphone-using...</a>
Designer: <i>"wow this is cool"</i><p>HN reader who's not a designer: <i>"don't like, bleh CSS, should SVG, used to do that in VIM, TIMTOWTDI"</i> and other similar useless rants missing the point.