Created
December 16, 2021 13:12
-
-
Save Uvacoder/04e52fca0fb6a279bddb9de2727fe13f to your computer and use it in GitHub Desktop.
Darken background image: https://stackoverflow.com/a/23208450
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| element { | |
| background: | |
| /* top, transparent black, faked with gradient */ | |
| linear-gradient( | |
| rgba(0, 0, 0, 0.7), | |
| rgba(0, 0, 0, 0.7) | |
| ), | |
| /* bottom, image */ | |
| url(image.jpg); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment