Menu
Hello guys,
I’m currently creating a gallery of images and I’m wonder how I can make the image go dimmer on hover.
I’m not sure whether CSS can achieve this or do I require js, if i’m on the wrong forum, I apologize.
The way I do it now is use css to set the background of the table cell containing the image black, and I set the opacity of the image on hover to say 0.7, so that the image would seem like it’s dimming when hovered.
However when the images are loading the table looks really bad as my page has a white background. Is there a more effective way of achieving this?
thanks!