Skip to content

Instantly share code, notes, and snippets.

@peteboere
peteboere / dabblet.css
Created February 3, 2012 12:31 — forked from anonymous/dabblet.css
Watermark background with CSS3 multiple-backgrounds, element() and linear-gradient()
/**
* Watermark background with CSS3 multiple-backgrounds, element() and linear-gradient()
*/
h1 {
font:italic 4em Georgia,serif;
text-align:center;
padding: 1em 0 0;
margin:0 0 .3em;
}
// ----------------------------------------------------------
// A short snippet for detecting versions of IE:
// Uses a combination of object detection and user-agent
// sniffing.
// ----------------------------------------------------------
// If you're not in IE then:
// ie === NaN // falsy
// If you're in IE then you can determine which version:
// ie === 7; // IE7
// Thus, to detect IE: