Hello
I’m trying to change the color of my opacity on hover.
http://206.189.231.71/client-services/
Please hover over the second image with a dog in it.
Right now the color comes up as white.
Here is my code
.container {
position: relative;
text-align: center;
color: white;
}
.image {
opacity: 1;
width: auto;
height: auto;
transition: .5s ease;
}
.x-column:hover .transparency {
opacity: .1;
transition: .5s ease;
}
.overlay {
position: absolute;
width: 100%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%)
}
.hidden{
visibility: hidden;
opacity: 0;
transition: visibility 0s, opacity 0.5s linear;
}
.x-column:hover .hidden{
visibility: visible;
opacity: 1;
}
I would like the overlay transparency to be green
I have tried
.x-column:hover .transparency {
background: rgba(0,128,0, .1);
transition: .5s ease;
}
