Last active
June 21, 2016 02:08
-
-
Save JoostKiens/4995763 to your computer and use it in GitHub Desktop.
Graphing paper like background with CSS3 gradients. Inpired by Graphy on Subtle Patterns
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
/** | |
* Author: @joostkiens | |
* Licensed under the MIT license | |
*/ | |
body { | |
background: | |
linear-gradient(-90deg, rgba(0,0,0,.05) 1px, transparent 1px), | |
linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px), | |
linear-gradient(-90deg, rgba(0, 0, 0, .04) 1px, transparent 1px), | |
linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px), | |
linear-gradient(transparent 3px, #f2f2f2 3px, #f2f2f2 78px, transparent 78px), | |
linear-gradient(-90deg, #aaa 1px, transparent 1px), | |
linear-gradient(-90deg, transparent 3px, #f2f2f2 3px, #f2f2f2 78px, transparent 78px), | |
linear-gradient(#aaa 1px, transparent 1px), | |
#f2f2f2; | |
background-size: | |
4px 4px, | |
4px 4px, | |
80px 80px, | |
80px 80px, | |
80px 80px, | |
80px 80px, | |
80px 80px, | |
80px 80px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment