Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS colour lens for images Re: colour lens for images

#103567
Mottie
Member

I think the easiest option would be to make the images have some transparency over a colored background. Something like this (demo):

CSS

li {
background: #0f0;
display: inline-block;
width: 100px;
height: 100px;
}
li img {
opacity: 0.8;
filter: alpha(opacity=80);
}
‚Äč

HTML