Adactio Go to the source
Twitter doesn’t allow for much verbosity but sometimes it’s possible to squeeze some code into 140 characters or fewer. I particularly like Simon’s piece of JavaScript . Paste this into the address bar in Safari: javascript:(function(){var d=0;setInterval(function() {document.body.style['-webkit-transform']= ‘rotate(’+ d +’deg)’;d+=1},10)}()); Earlier today, I wrote : Writing <abbr title=”and”>&</abbr> in my markup and abbr[title='and'] { font-family: Baskerville; font-style: italic; } in my CSS. This is something that Dan has written about in the past, citing Bringhurst; In heads and titles, use the best available ampersand . Dan suggested wrapping ampersands in a span with a class of “amp” but in a comment, I proposed using the abbr element: <abbr title=”and” class=”amp”>&</abbr> But really, you don’t even need the class because you can just use an attribute selector: abbr[title='and'] { font-family: Baskerville, Palatino, “Book Antiqua”, serif; font-style: italic; } But, asks Mat Marquis , what about a certain browser that can’t even handle the simplest of attribute selectors? … Read the rest here