IE9下支持css3的方法

今天在写css3效果的时候,发现在IE9下css3是无效的

解决:下载PIE(下载地址:http://css3pie.com/),引用:behavior:url(PIE.htc)注意路径应是同html文档同一目录下

小实例:

复制代码
复制代码
<!DOCTYPE html>
<html>
<head>
    <title></title>
    <style type="text/css">
        .border{ 100px;height: 100px;border-radius: 10px;background-color: #f60;behavior:url(PIE.htc);}
    </style>
</head>
<body>
    <div class="border">
    </div>
</body>
</html>
复制代码
复制代码

在IE9下的效果图:

原文地址:https://www.cnblogs.com/l0520/p/7779258.html