I am trying to figure out if I can add an overlay to an image like a tint and change the opacity without adding background color. I had no luck so I thought I would ask here
It's not fully cross-browsers solution, but must work well in most modern browser.
EXTERNAL DEMO PLAYGROUND
IN-HOUSE DEMO SNIPPET (source:simpl.info)
#container {
text-align: center;
}
.blur {
filter: blur(5px)
}
.grayscale {
filter: grayscale(1)
}
.saturate {
filter: saturate(5)
}
.sepia {
filter: sepia(1)
}
.multi {
filter: blur(4px) invert(1) opacity(0.5)
}
NOTES
RESOURCES: