Twitsnip is a place to post code snippets and share them. Login with your existing Twitter account, if you don't have a Twitter account simply create on at www.twitter.com

Category: css

Cross-Browser Opacity

0

Found this useful class to use opacity across a range of browsers.

Image Preloader

0

In case you need to preload images before the loading of your page completes, use the following technique. Just add the images’ paths to the DIV class, and call the DIV in your HTML. The DIV will not be visible but the images will preload nicely.

Reset Code

0

HTML tags on different browsers have their own formatting and styling. To reset all that and bring everything to ground zero before starting to code, just add these lines at the beginning of your CSS file.

Create Pure CSS Tooltips

0

Through this code, you can have your own tooltips using just CSS

CSS for different versions of IE

0

Condition statements for IE6 & IE7 to load an alternative stylesheet