Re:The Shapes of CSS
by program on Friday August 12, 2011 @06:04PM
(#2879447)
They will lose money:
is 143 bytes.
[ Parent
| on HN ]
It would cut out two web requests too.
"data:" URLs are pretty good for this too, no web request needed. See RFC2397.
I've been using these a bit lately for little icons and such, I think its a cleaner approach than spriting in a lot of cases. I put a little script to generate data URLs up at http://nick.zoic.org/art/etc/make-data-url.html
How good is cross-platform Unicode support these days? I do like the idea of just using characters which look like icons, even if it does feel a bit like writing MS-DOS TUIs with box-drawing characters :-).