`

jQuery Corners实现圆角元素的好插件!

阅读更多

文档介绍

http://www.atblabs.com/jquery.corners.html

 

参数设置通过一个string. 例如: "6px transparent top";

5px
设置转角的半径 Default is 5.
10px 6px
设置X和Y半径用不同的值.
anti-alias
设置反走样.默认的.
transparent
透明的,为了背景图片和回旋设置,使用这个透明选项
For background images or hover states, use this transparent style.
no-native
          关闭所有的边界半径扩展,大多数情况想ia是为了测试
Disables all of the following border-radius extensions. Mostly used for testing.
webkit
          使用-webkit-border-radius属性为了去兼容 Safari和 iPhone
Enables use of -webkit-border-radius on compatible browsers such as Safari and iPhone. Currently disabled for Google Chrome. Default.
no-webkit
Will not use -webkit-border-radius on any browser.
mozilla
Enables use of -moz-border-radius on Firefox 3+ and other Mozilla based browsers. Default.
no-mozilla
Will not use -moz-border-radius on any browser.
top
right
bottom
left
top-left
top-right
bottom-left
bottom-right
Mix and match to round only specific corners.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics