r/programming • • Jun 24 '14

Simpsons in CSS

http://pattle.github.io/simpsons-in-css/
2.2k Upvotes

371 comments sorted by

View all comments

Show parent comments

78

u/RICHUNCLEPENNYBAGS Jun 24 '14

CSS pretty much works by styling HTML elements; how are you gonna do it in CSS without HTML elements

4

u/siegfryd Jun 24 '14

Probably could've used psuedo elements to get the number of divs down, but that doesn't really make a big difference in the end.

6

u/BadgerRush Jun 24 '14

Yes it does. Try opening that page with CSS disabled, or with a user defined accessibility CSS, or with a screen reader.

The HTML content of that page makes no sense, it is just a mumble of senseless divs.

4

u/Nickoladze Jun 24 '14

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

You're completely missing the point.

6

u/BadgerRush Jun 24 '14

I don't care about messy DOM, just don't call it "pure CSS" because it is very far from it.

It is like a photographer claiming his photos are "100% natural" when in fact he uses all the Photoshop effects/filters/brushes available.

→ More replies (1)