Hey Guys,
I have an image and want to lay over this, a transparent hover with text inside. Is there a way to do that with Custom CSS ? I allready try this:
a.x-img.Bild1 {
background: http://www.lichtblick-roeckle.wwwerbeagentur.com/wp-content/uploads/2017/09/Hover_Lichtblick_GmbH.jpg
no-repeat center top;
background-size: contain;
transition: 0.25s all ease-in-out;
}
a.x-img.Bild1 :hover img {
opacity: 0,2;
transition: 0.25s all ease-in-out;
}
Where is the mistake?
My URL is:
http://www.lichtblick-roeckle.wwwerbeagentur.com/
and here is a screenshot of how it should looks like:
Thanks for your great help!