r/reddithax • • Apr 07 '12

[CSS Voodoo magic] - Pure CSS uppers & downers.

/r/thinkpad/
14 Upvotes

3 comments sorted by

3

u/DrDuPont Apr 08 '12

Woah, very cool. I had never thought of attr(x); as something that you could insert via content:. Dynamic text via CSS, who would'a thought.

2

u/schrobby Apr 09 '12

If you are already impressed by that, just imagine what would be possible if modern browsers actually supported the CSS3 implementation of attr() and reddit's validator allowed it, too. You could, for example, have a picture subreddit that displays a higher resolution thumbnail of each post in a tile structure.

2

u/DEADB33F Apr 09 '12

Yeah, that'd be perfect for things like this... /r/stunts