从网上找的,代码很兼容,操作也很简单,分享给大家,只需要加载JS文件即可;附件在下面下载。
JS调用方法:
DD_roundies.addRule('.websjy1', '5px 20px 3px 10px', true);
DD_roundies.addRule('.websjy2', '5px', true);
DD_roundies.addRule('.websjy3', '500px', true);
什么也不说了,狠狠的点在线演示:http://www.websjy.com/club/websjy_index/53/
下载: DD_roundies_min.js
转载于:https://www.cnblogs.com/websjy/archive/2011/08/18/2144724.html
相关资源:JS实现DIV、图片圆角效果