jQuery Mouse Hover Effects Plugin

Add-ons
2026-07-26 07:02 5 次浏览 • 0 次下载 46.8KB
jQuery Mouse Hover Effects Plugin

Usage

Include the jQuery library file.

Include jquery.niceHover.js.

1
<script type="text/javascript" src="jquery.niceHover.js"></script>

Include the CSS file required by the plugin: niceHover.css.

Call the plugin method on the block element where you want to create the hover effect.

1
2
3
4
$(".box,.box1").niceHover({
color:"#FF7C54",
weight:3
});

Parameter Description:

color: Specifies the line color used in the hover effect. Any valid CSS color value can be used.

weight: Specifies the thickness of the lines used in the hover effect. The default value is 2.

Notes:

The container element for the effect must have a defined width and height.

You do not need to include the CSS file. You can simply copy its code directly into your own stylesheet.


星河码客

发现和分享优质开源项目,传承互联网精神,为开发者服务。

关于本站

联系我们

微信/广告合作:ITcloub (备注星河码客)

免责声明:本站资源版权归原作者所有,仅供学习与交流。如有侵权,请通过「关于我们 - 侵权投诉」联系删除。

Powered by Nuxt · Deployed on Cloudflare