Last active
December 12, 2019 17:01
-
-
Save thexdev/81a060fc26c88776bbffac23dcd88654 to your computer and use it in GitHub Desktop.
CSS snippet to make a background image with gradient color overlay
This file contains 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
#bg-img-overlay { | |
background-image: | |
linear-gradient( | |
to right, | |
rgba(15, 12, 41, 0.7), | |
rgba(48, 43, 99, 0.7), | |
rgba(36, 36, 62, 0.7) | |
), | |
url('https://source.unsplash.com/random/800x600'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment