-
-
Save mamboer/4499542 to your computer and use it in GitHub Desktop.
Checkerboard pattern
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
/** | |
* Checkerboard pattern | |
* (a bit buggy in Webkit, see bug #54615) | |
*/ | |
background-color: white; | |
background-image: linear-gradient(45deg, transparent 25%, transparent 25%, transparent 87.5%, black 87.5%, black), | |
linear-gradient(-135deg, transparent 25%, transparent 25%, transparent 87.5%, red 87.5%, red), | |
linear-gradient(45deg, transparent 25%, transparent 25%, transparent 87.5%, black 87.5%, black), | |
linear-gradient(-135deg, transparent 25%, transparent 25%, transparent 87.5%, red 87.5%, red), | |
linear-gradient(45deg, transparent 25%, transparent 25%, transparent 87.5%, black 87.5%, black), | |
linear-gradient(-135deg, transparent 25%, transparent 25%, transparent 87.5%, red 87.5%, red), | |
linear-gradient(45deg, transparent 25%, transparent 25%, transparent 87.5%, black 87.5%, black), | |
linear-gradient(-135deg, transparent 25%, transparent 25%, transparent 87.5%, red 87.5%, red); | |
background-size:100px 100px; | |
background-position: 25px 0,0 -75px,100px 25px,-25px -50px,75px 50px,50px -25px,50px 75px,25px 100px; |
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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment