Snippets

Snippet #1: Cross-Browser Opacity

Posted on

Now for some snippets! Basically, just code that might be handy on a cheat sheet. Nothing complicated. This one will enable proper CSS opacity across all browsers (albeit with some caveats in Internet Explorer, which will behave slightly differently at times): selector { filter: alpha(opacity = 50); /* IE 5.5+ */ -ms-filter: alpha(opacity = 50); […]