That and you can edit it in software, using a mouse, like Inkscape or Illustrator. It's like people already thought this stuff through!
Edit: not to knock OP's submission here, which is really just a CSS techdemo. I can see exercises like this yielding lots of perfectly good CSS stuff like typography and creative layout.
Over 10 years ago, I was convinced SVG would completely replace HTML. I don't really believe it anymore, but the browser support is getting to the point that I wouldn't be terribly surprised to see a pure SVG site come around.
You're not. But if something was "pure CSS" then you could apply it to whatever HTML you wanted and it'd be good to go. If you're going to go this route, you might as well make a massive grid of pixels out of divs and just colour them in.
"pure CSS" would mean being able to define the common elements and style them appropriately using only CSS, no manipulation of the document structure.
They all have hair, eyes, a nose, a mouth, ears, which are all parts of a head. Define only those elements, exactly the same way for each character, and style them differently based on their parent (eg: .homer .head), and I will be impressed.
Failure to admit where structure ends and style begins is a major reason behind a lot of needless wasted time when implementing anything on the front-end. This is the reason I stick to back-end / interfaces as much as possible.
Yeah no shit, buddy. This isn't an example of a corporate website, it's some dude recreating The Simpsons using CSS transforms. Nobody should care about a mess of DOM elements when all he cares about is the end result.
Try opening that page with CSS disabled, or with a user defined accessibility CSS
66
u/moopet Jun 24 '14
Very pretty. But this tendency to refer to adding a bucketload of DIVs and calling it "pure CSS" needs to die.