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

1

u/SquareWheel Jun 24 '14

I agree, different sites have different markets and we should always check our own analytics for these things. For me I still get a ton of IE8 users, so I always need a shim for modern features. Even HTML5 elements like <article> break catastrophically.

Thankfully my IE6-base is less than 1%. Sayonara!

And I only bring up the prefixes because Town-Portal's code didn't include them. Seems like we're starting to shift away from their use, anyway.

2

u/Town-Portal Jun 24 '14

I always use prefixes, sorry i did not add them, i thought that was a given... :)

-moz-transform: translateY(-50%);
-webkit-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);

Hope i got them correctly!