Last active
August 31, 2015 09:03
-
-
Save vieron/14f74a396a6ae4970736 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
.grid { | |
width: 100%; | |
height: 300px; | |
border: 1px solid red; | |
padding: 2px; | |
background: | |
linear-gradient(#FFF 1px, #FFF 2px, transparent 0), | |
linear-gradient(transparent 1px, transparent 48px, #FFF 0), | |
linear-gradient(90deg, #FFF 1px, #FFF 2px, transparent 0), | |
linear-gradient(90deg, transparent 1px, transparent 48px, #FFF 0), | |
radial-gradient(at 7px 7px, red 1px, red 5px, transparent 0), | |
radial-gradient(at 43px 7px, red 1px, red 5px, transparent 0), | |
radial-gradient(at 43px 43px, red 1px, red 5px, transparent 0), | |
radial-gradient(at 7px 43px, red 1px, red 5px, transparent 0), | |
linear-gradient(90deg, transparent 1px, transparent 7px, red 0, red 43px, transparent 0), | |
linear-gradient(transparent 1px, transparent 7px, red 0, red 43px, transparent 0); | |
background-size: 50px 50px; | |
background-origin: content-box; | |
} |
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
<div class="grid"></div> |
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
// alert('Hello world!'); |
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":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment