Created
May 7, 2023 15:24
-
-
Save anatolinicolae/c1bfa473f30dfa21c04fd8ad67ac35ad to your computer and use it in GitHub Desktop.
CSS grid lines
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
body::after { | |
content: ""; | |
position: fixed; | |
width: 100vw; | |
height: 100vh; | |
z-index: 9999999; | |
background-size: calc(100%/6 - 1px); | |
background-repeat: repeat-x; | |
background-image: linear-gradient(to right, #9e9e9e29 1px, transparent 1px); | |
pointer-events: none; | |
max-width: 1180px; | |
top: 50%; | |
left: 50%; | |
transform: translate(-50%, -50%); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment