Created
February 9, 2012 02:35
-
-
Save axelav/1776753 to your computer and use it in GitHub Desktop.
zig zag background
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
/** | |
* zig zag background | |
* stolen from here: http://lea.verou.me/css3patterns/#zig-zag | |
*/ | |
body { | |
background: | |
linear-gradient(315deg, #f1f1f1 25%, transparent 25%) -50px 0, | |
linear-gradient(225deg, #f1f1f1 25%, transparent 25%) -50px 0, | |
linear-gradient(135deg, #f1f1f1 25%, transparent 25%), | |
linear-gradient(45deg, #f1f1f1 25%, transparent 25%); | |
background-size: 100px 100px; | |
background-color: #fff; | |
} | |
p { | |
color:silver; | |
} |
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
<!-- content to be placed inside <body>…</body> --> | |
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-vertical","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment