Created
November 13, 2024 16:15
-
-
Save gdnwebmedia/a9e9acb07f241293d9e1f9bcf19977ab to your computer and use it in GitHub Desktop.
Adds a grid background gradient pattern to a container
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
.grid-background { | |
background-image: linear-gradient(90deg, #f1f2f4 1px, transparent 0), linear-gradient(180deg, #f1f2f4 1px, transparent 0); | |
background-position: 50% calc(100% - 1px); | |
background-size: 3rem 3rem; | |
margin: -80px 0 4em; | |
padding: 180px 0; | |
position: relative; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment