Created
February 19, 2023 01:03
-
-
Save texxs/53c366882d5b6cf48cf63b9551b6cb09 to your computer and use it in GitHub Desktop.
Diagonal Striped Background
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
// Meant for use on a body but you can use it on any element where a background color is appropriate | |
background-color: #960816; | |
background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, #B7420B 35px, #B7420B 70px); | |
/* | |
note this background can be glitchy on pages where the content doesn't fill the screen. | |
On those page consider a gradient or a solid color background or even a tradional background image. | |
*/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment