Created
March 28, 2012 22:49
-
-
Save eriwen/2231253 to your computer and use it in GitHub Desktop.
Classy CSS3 Grid
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
.grid { | |
width: 100%; | |
height: 100%; | |
background-color: white; | |
background: radial-gradient(circle, transparent 20%, white 20%, white 80%, transparent 80%, transparent), | |
radial-gradient(circle, transparent 20%, white 20%, white 80%, transparent 80%, transparent) 0 0, | |
linear-gradient(#ddd 1px, transparent 1px) 0 -0.5px, | |
linear-gradient(0, #ddd 1px, transparent 1px) -0.5px 0; | |
background-size: 20px 20px, 40px 20px, 10px 10px, 10px 10px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment