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

本文详细介绍了 jQuery Corners 插件的使用方法及参数配置。该插件能够为网页元素添加圆角效果,并提供了丰富的选项来定制样式,如设置不同方向的圆角、半径大小、是否启用反锯齿效果等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

文档介绍

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.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值