开发者

Jquery hover over an image to show caption with transparent colored background on top

开发者 https://www.devze.com 2023-03-08 06:11 出处:网络
When I hover over a thumbnail which is wrapped within an anchor tag I would like the caption to fadein with a background color that covers the entire imageregardless of the images size as this will va

When I hover over a thumbnail which is wrapped within an anchor tag I would like the caption to fadein with a background color that covers the entire image regardless of the images size as this will vary.

This is what it looks like before

Jquery hover over an image to show caption with transparent colored background on top

and this is how I would like the hover effect to look like.

Jquery hover over an image to show caption with transparent colored background on top

I have found a couple of plugins but none of them seem to support rounded corners on the overlay

Also here is a url.

http://satbulsara.com/luke-irwin/rugs/all/

Thanks,

开发者_运维问答Sat


@Sat,

There are already lot of plugins built to do this kind of stuff , see these plugins

http://www.net-kit.com/10-jquery-caption-plugins/

0

精彩评论

暂无评论...
验证码 换一张
取 消