I'm making a website, and to avoid hovers with other images, I used blend-mode in CSS. But according to the Can I Use? IE 11 and new Edge browsers do not support.
Here comes my question, in cases like this, what could I do? Try some alternative with opacity only for these browsers? Or just abandon these?
Thanks for the answers! But I'm still in doubt ...
My code is like this
figure.effect {
background: #D68F27;
}
figure.effect img {
opacity: 0.8;
-webkit-transition: opacity 0.35s;
transition: opacity 0.35s;
}
figure.effect:hover img {
mix-blend-mode: soft-light;
transition: background-color 1s ease-in-out;
}
It is an image with a background "# D68F27", and it already has 0.8 opacity. When the hover is activated enter the blend-mode. In IE and Edge just wanted to get opacity 0.3, would it be easier with @suports? or with JS?