Last active
December 17, 2021 19:46
-
-
Save greg-randall/2fe5e8742f6e69b5d1a60b06680e7c5e to your computer and use it in GitHub Desktop.
Add a translucent color over a background image in a webpage. https://jsfiddle.net/Lmy6jw03/1/
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
| background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><rect style='fill:rgb(41,114,183);' width='100%' height='100%' opacity='0.75' /></svg>"), url('img/background.jpg'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment