I currently need to use mix-blend-mode for a project to multiply a image on a yellow div. It's working in chrome without any problems but in firefox, the image will turn black when the container has the same width and height as the image.
If the image is 1px higher it will run anyway. Anyone know why that happens?
Here is my code example. Try it in firefox and play around with the height value. It's going to turn black when you set the height to 500px.
Thanks for any help guys!
http://cssdeck.com/labs/t2uxoktu
.image {
background: #ffff00;
display: block;
width: 500px;
height: 505px;
}
.image img {
mix-blend-mode: multiply;
}
<div class="image">
<img src="http://unsplash.it/500/500">
</div>