Kev86 Posted February 12, 2023 Posted February 12, 2023 (edited) Hi all, I have the following code and i'm just trying to have the gallery descriptions appear on hover. Ideally i'd like to have the gallery black and white, color and zoom on hover. So far this works but i'm just unsure how to make incorporate the description on hover. Current Code: .gallery-masonry-item img{filter:grayscale(100%); transition:.25s} img:hover{filter:grayscale(0%)} img:hover{height:100%!important; width:100%!important; transform:Scale(1.2); overflow:hidden!important; transition-duration:1s} Gallery-code-name{overflow:hidden!important} Website: https://reindeer-oleander-5k4j.squarespace.com/ PW: Demo Edited February 21, 2023 by Kev86
tuanphan Posted February 16, 2023 Posted February 16, 2023 You mean Initial: hide caption Hover: show caption under image ? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Kev86 Posted February 21, 2023 Author Posted February 21, 2023 (edited) On 2/16/2023 at 3:16 AM, tuanphan said: You mean Initial: hide caption Hover: show caption under image ? Yes but not under the image, in the center of the image. Ideally I can tweak the font as well. Edited February 21, 2023 by Kev86
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment