用js实现css3效果的圆角方法

所属分类: 网页制作 / 应用技巧 阅读数: 2078
收藏 0 赞 0 分享
找在IE下实现css3效果的圆角时找到的一个实例,没有测试,不知道使用起来怎么样,有兴趣的朋友可以自己试一下:
复制代码
代码如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head> <title>在线演示 - LHGCALENDAR</title> <script type="text/javascript" src="http://www.qiuzhiquan.com/images/DD_roundies_min.js"></script> <script type="text/javascript"> DD_roundies.addRule('.websjy1', '5px 20px 3px 10px', true);DD_roundies.addRule('.websjy2', '5px', true);DD_roundies.addRule('.websjy3', '1000px', true); </script> <body> <h3>效果1</h3> <div style="border:1px solid #CCCCCC; width:200px; height:200px; background:#66FFFF; margin-bottom:10px;" class="websjy1">32423</div> <h3>效果2</h3> <div style="border:1px solid #CCCCCC; width:200px; height:200px; background:#EEE; margin-bottom:10px;" class="websjy2">32423</div> <h3>效果3</h3> <div style="border:1px solid #CCCCCC; width:200px; height:200px; background:#ff0000; margin-bottom:10px;" class="websjy3">32423</div> </body> </html>
预览效果:http://www.websjy.com/club/websjy_index/53/
更多精彩内容其他人还在看

关于培养色感,自己的一些方法

关于培养色感,自己的一些方法
收藏 0 赞 0 分享

SSI技术—SHTML的解释(生成静态时用的最火)

SSI技术—SHTML的解释(生成静态时用的最火)
收藏 0 赞 0 分享

标签(Tag)的定义和作用精解

标签(Tag)的定义和作用精解
收藏 0 赞 0 分享

网页中防止表格被撑破的css代码

网页中防止表格被撑破的css代码
收藏 0 赞 0 分享

SSH 使用原理 与解释

SSH 使用原理 与解释
收藏 0 赞 0 分享

UTF-8编码问题BOM详细介绍

UTF-8编码问题BOM详细介绍
收藏 0 赞 0 分享

photoworks下载及象框使用教程[图文]

photoworks下载及象框使用教程[图文]
收藏 0 赞 0 分享

比较详细的一篇关于autorun.inf的讲解

比较详细的一篇关于autorun.inf的讲解
收藏 0 赞 0 分享

缩放文字,不仅仅只是缩放文字

缩放文字,不仅仅只是缩放文字
收藏 0 赞 0 分享

验证可通过正版验证的Office2007最新的两个序列号

验证可通过正版验证的Office2007最新的两个序列号
收藏 0 赞 0 分享
查看更多