Add a layer over an element with 1 css rule

Add a layer over an element with 1 css rule


Sometime we want to make an element like a  picture darker to better read the text over it,
we can solve it with 1 css rule without adding any html element.

Parameters are pretty clear, anyway the last one is the opacity.

Leave a Reply

Your email address will not be published. Required fields are marked *