Home  >  Article  >  Web Front-end  >  A very practical css3 compatibility tool with many attributes compatible with IE6_html/css_WEB-ITnose

A very practical css3 compatibility tool with many attributes compatible with IE6_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:46:101171browse

When you see such a rendering, have you collapsed?

Before css3 came out, most people basically used pictures to spell it out.

This is how Tencent Mailbox does it

Then you want to change the right angle with the design. I feel so annoyed when using pictures! And we also need to be compatible with ie6

She told you that others can do it, why can’t you

Then I could only use a small plug-in that was once forgotten to complete this strange thing

PIE

http://css3pie.com/documentation/pie-js/

With pie.js, you no longer need to consider the browser when making effects (of course this The sentence is quite moist, just like Jin Lala)

<!--[if IE]><script type="text/javascript" src="path/to/PIE.js"></script><![endif]-->

<!--[if lt IE 9]>  <script type="text/javascript" src="path/to/PIE_IE678.js"></script><![endif]--><!--[if IE 9]>  <script type="text/javascript" src="path/to/PIE_IE9.js"></script><![endif]-->

$(function() {    if (window.PIE) {        $('.rounded').each(function() {            PIE.attach(this);        });    }});

http://files.cnblogs.com/files/LoveOrHate/pie.rar

Then this one originally downloaded, seems to have 2.0, You can check it out on the official website

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn