Simpsons in CSS
pattle.github.io
pattle.github.io
This guy's been working on a freelance project for a Start-Up for me for the last few months as an all round front-end, back-end and UI/UX guy. Nothing but professionalism and great delivery all the way through. What i've loved about him most has been the fact that he's a great self-starter and has brought so many useful ideas to the table. Exactly what a Start-Up needs.
Also had the chance to meet him and his wife for Coffee a few weekends ago. Really nice guy.
If there are any Start-Ups here that are looking for a coder that has a very good sense of UI/UX, you should hire him. (my project is almost finished, so he'll be free soon).
I'm willing to personally vouch for his work ethic, credibility and talent.
Oh and all the work he did for me has been done remotely through BitBucket, email and Skype. I was very comfortable throughout in leaving him to his own devices.
He is the epitome of what it means to have a remote worker, so if you're a Start-Up outside of the UK thinking you can't hand him work because he's remote, think again.
Edit: Remote notes.
Does this include him respecting copyrights?
Why is this #1 on HN right now?
Because it neatly demonstrates the power of these CSS tools, and by exploring how these complex images were created we can see more easily how to apply the same techniques to more commonplace elements.You have done a service with your comment by pointing out that these are the wrong tools to implement it. I agree!
But I personally feel we don't get enough posts on this site showing things that people have built themselves. So regardless of how I feel about what someone built, if someone posts their work for praise or ridicule I applaud them.
I believe this was a creative use of css, and looks fantastic.
Clarification: I do not think he used such a tool. My point is that you are way to quick to take a dump on this technique. Just give me an efficient way of doing it, and it might not be such a bad idea after all.
(Disclaimer: flexbox is still 'bleeding edge' https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Flexi...)
I suppose the value in doing this is that maybe an image could go right into an email to someone, or if you are hosting a page on the web somewhere that doesn't have the ability to upload images - but you still want to display one - just use CSS.
Otherwise - I'm not sure what this post is telling us. Did he do them by hand? Did he just convert some images using freely available tools? I'm not sure the value here other than to show people that there are other ways to display images in browsers than loading and showing the images themselves.
Shouldn't it be the other way around?
#homer .left-eye { ... }
#bart .left-eye { ... }
makes more sense to me than .homer #left-eye { ... }
.bart #left-eye { ... }In regard to the selector type, does Homer have more than one left eye? More than likely not, but that's why I suggested using all class selectors as an option. Using all class selectors would enable you to produce (a) as many Homers as you'd like and (b) as many left eyes, right eyes, mouths, etc as you'd like.
.homer #left-eye
This indeed makes (almost) no sense. It makes no sense for sure if you intend to have several characters on the page — id must be unique, and it does not matter that something is in front of it..some-class #some-id makes sense only if you want to style page-unique elements differently in some cases but even in that case I'd argue that #some-page-id #some-id would be better (assuming #some-page-id is the body element id).
Still awesome though.
So what?
Was she harder than the rest to get right?
> there is no HTML without CSS
* HTML 2.0: 1995
* CSS 1: 1996
That must have been a hard year for HTML 2.0, not to mention half a decade for HTML altogether.Still, to me saying that something is in "pure" CSS would imply that the HTML is not more complicated than e.g.:
<div id=homer></div>
(I guess that making a drawing such as the ones in the OP using only one div would not be possible until browsers accept pseudo-elements to be defined on top of other pseudo-elements.)I understand that by "pure" the author meant "without using images". But IMHO using dozens of empty div elements isn't "pure" CSS.
Now you're 1 step closer to figuring out how to build this tool :)