How to give outer glow to an object in a transparent png using CSS3?

后端 未结 7 2134
谎友^
谎友^ 2021-02-02 06:03

I\'m working on a project where I need to make modifications in more then 500 images to give outerglow on hover effect. I will need to modify each image to give

7条回答
  •  自闭症患者
    2021-02-02 06:29

    here's a plugin i found early that do the trick on PNG Image...

    Usage:

    Enable glow and set color and radius:

    $("#testimg").glow({ radius: "20", color:"green"});
    

    Disable glow:

    $("#testimg").glow({ radius: "20", color:"green", disable:true }); 
    

    or

    $("#testimg").glow({ disable:true }); 
    

    https://github.com/MisterDr/JQuery-Glow

提交回复
热议问题