Serving @font-face fonts to Firefox from an S3 bucket

I’m building a Rails site that uses the excellent asset_sync gem to push my assets up to an S3 bucket on deploy, and I ran into an issue where @font-face fonts were rendering fine in all browsers except Firefox. After a little googling, I found that it’s an issue with Firefox’s “file uri origin” policy. http://stackoverflow.com/questions/2856502/css-font-face-not-working-with-firefox-but-working-with-chrome-and-ie http://stackoverflow.com/questions/5008944/how-to-add-an-access-control-allow-origin-header The...

Upgrading to Lion

I just upgraded to Lion and ran into a few issues trying to compile Ruby via RVM. Turns out you need to update Xcode and manually install the Command Line Tools. Makes sense, but I got hung up for a few minutes trying to figure out why it didn’t “just work.” UPDATE I also had...

Direction aware hovers

Direction aware hovering effects are relatively new to the HTML/CSS/JS realm and codrops has just put out a really great tutorial detailing the philosophy and code behind them. View it here The demo is especially nice as it is an example of how it might be used in the real world. I highly recommend taking...