So I have seen quite a few ways to darken images with CSS, including ones with rounded corners, but my problem is different.
Let's say I have an .png image that looks like a little dog (just go with it, I don't have any good examples), when I place it on my page, I give it dimensions of 100 x 100.
But I can't just overlay something on it, or tint the entire image, as it will cause the background of the dog to be tinted as well, which looks ugly.
Is it possible to tint an image of arbitrary shape with CSS?
(I'm assuming you understand my point, and useless code is not necessary)
Thanks!
Easy as
img {
filter: brightness(50%);
}