Fetching contributors…
Cannot retrieve contributors at this time
63 lines (40 sloc) 2.54 KB
<!DOCTYPE html>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>PIE Documentation: About PIE</title>
<h1>About PIE</h1>
<!-- noformat on -->
<p>CSS Level 3 brings with it some incredibly powerful styling features. Rounded corners, soft drop shadows, gradient fills, and so on. These are the kinds of elements our designer friends love to use because they make for attractive sites, but are difficult and time-consuming to implement, involving complex sprite images, extra non-semantic markup, large JavaScript libraries, and other lovely hacks.</p>
<p>CSS3 promises to do away with all that! But as we all know, due to Internet Explorer's lack of support for any of these features, <strong>we must be patient and refrain from using them</strong>, and make do with the same old tedious techniques for the foreseeable future.</p>
<p><strong>Or must we?</strong></p>
<p>PIE stands for Progressive Internet Explorer. It is an IE attached behavior which, when applied to an element, allows IE to recognize and display a number of CSS3 properties. Consider, if you will, the following CSS:</p>
<pre><code>#myElement {
background: #EEE;
padding: 2em;
-moz-border-radius: 1em;
-webkit-border-radius: 1em;
border-radius: 1em;
<p>This results in a box with nicely rounded corners in any of today's modern browsers, except of course for IE 6, 7, or 8, which all display a square box. However, add the following single rule to that CSS:</p>
<pre><code>#myElement {
behavior: url(;
<p>Now the exact same rounded corners appear in IE! That's all there is to it. No, really, I mean it.</p>
<p>PIE currently has full or partial support for the following CSS3 features:</p>
<li>multiple background images</li>
<li>linear-gradient as background image</li>
<p>Other features are under active development.</p>
<p><strong>Want to learn more?</strong> View some live <a href="/demos">demos</a>, read the <a href="/documentation/">documentation</a>, and <a href="/download-latest">download PIE</a> to try it yourself. Be sure to read the <a href="/documentation/known-issues/">Known Issues</a> page for common problems and their solutions.</p>
<p>PIE is still a young project with big plans. But it's already good enough to save you a <em>lot</em> of time and make your life as a Web developer much easier. Happy CSS3 coding!</p>
<!-- noformat off -->