源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

jquery插件corner实现圆角边框的方法

  • 时间:2022-11-24 08:39 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:jquery插件corner实现圆角边框的方法
本文实例讲述了jquery插件corner实现圆角边框的方法。分享给大家供大家参考。具体如下:
[u]复制代码[/u] 代码如下:
<!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>jQuery Corners</title>    <script type="text/javascript" src="jquery.js"></script>    <script type="text/javascript" src="jquery.corners.min.js"></script>    <script type="text/javascript">    $( function(){$('.roundedd').corners();})     </script>    <style type="text/css">    .roundedd     {        background-color:#eeeeee;     }     </style> </head> <body> <div style="" class="roundedd"> class="rounded {10px}" </div> </body> </html>
这里测试了一下发现一个问题bug:若background-color:#eeeeee;写成background-color:red;或 background-color:yellow;在火狐没问题,如果是IE的话就看不到效果了,所以建议用颜色RGB代码。   演示地址为:   http://www.malsup.com/jquery/corner/ 希望本文所述对大家的jQuery程序设计有所帮助。
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部