New Pen

Shortest check for localStorage

For some while I've been using this as my quick'n'dirty check for localStorage:

 var hasLocalStorage = !!function(){try{return localStorage}catch(e){}}();

I'd hope for a...

Include Your Site's Search in Browser Omnibox/Address Bar

I've been a fan of the simple little feature in Chrome's address bar where I can directly search certain sites by typing part of their URL and then pressing TAB. I live in...

Expressive BEM with Sass Part II: A first draft of mixins

Hey there! Since writing about how you can write BEM a different way using Sass, the idea has gained some attention (thank you all so much, for all your feedback and...

View More Recently Picked Posts →