darker background image

I was stunned to learn I could set the opacity of a background image like this:

background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/path/to/image');

and darken the background image.

Leave a Reply

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