Hello people from StackOverflow. I'm trying to do something exactly like in this website: http://anayafilms.com/ (work section). It's basically an image but on mouse over, it gets darken, a text at the bottom and two "buttons" (just some font awesome icons in a circle), along with some basic animation. So far I only have the image in a div and no idea on how to do that, so if anyone can help me out that'd be amazing.
Before and after, just to illustrate it in case you don't wanna go on the website
Depending on what you really need it to do, you might be able to do this without javascript. Here is an example that makes use of the css pseudo class
:hoverand some absolute positioning. I'm darkening the background, which you can set as an image, by using a layer above it with aopacity: .5black background created usingbackground: rgba(0,0,0,.5).