DivCornersjQuery圆角插件

联合创作 · 2023-10-02 16:03

DivCorners是一个创建边框圆角的jQuery插件。

示例代码:

// This is the maximum definition
$("div").dcCreate({
imgPrefix: "/images/",
fileType: ".gif",
expand: 4, // optional
radius: 0, // optional Note: Radius must be greater than expand. See Understand the Parameters
position: "inside", // optional
resize: "img", // optional
exclude: "left, top" // optional
}, true); // Note: This parameter is optional. By default it's true.
This parameter controls whether parent .dCorner instances will be resized.

// This is the recommended definition
$("div").dcCreate({
imgPrefix: "/images/dCorner-",
fileType: ".gif",
expand: 10
});
浏览 2
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报