首页 > 其他 > 详细

ie8兼容border-radius方法

时间:2016-03-23 12:51:09      阅读:198      评论:0      收藏:0      [点我收藏+]

<!doctype html>
<html>

    <head>
        <meta charset="utf-8" />
    </head>
    <title></title>
    <style>
        .border{width: 100px; height: 100px; border-radius: 50%; background: #000;behavior:url("PIE.htc");}
    </style>

    <body>
        <div class="border"></div>
        <script src="js/jquery-1.8.3.min.js"></script>
        <script src="js/PIE.js"></script>
        <script>
            $(function(){
                  if (window.PIE) {
                    $(‘.border‘).each(function() {
                        PIE.attach(this);
                    });
                }
            })
        </script>
    </body>

</html>

ie8兼容border-radius方法

原文:http://www.cnblogs.com/zhouyx/p/5310511.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!