Skip to content

Instantly share code, notes, and snippets.

@axelav
Created February 9, 2012 02:35
Show Gist options
  • Save axelav/1776753 to your computer and use it in GitHub Desktop.
Save axelav/1776753 to your computer and use it in GitHub Desktop.
zig zag background
/**
* 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;
}
<!-- content to be placed inside <body>…</body> -->
{"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