Skip to content

Instantly share code, notes, and snippets.

@burtyish
Created January 27, 2014 15:39
Show Gist options
  • Save burtyish/8650715 to your computer and use it in GitHub Desktop.
Save burtyish/8650715 to your computer and use it in GitHub Desktop.
zig-zag background (SO)
/**
* zig-zag background (SO)
* CSS Zigzag Border with a Textured Background
*/
background: linear-gradient(#BCED91 49%, transparent 49%),
linear-gradient(-45deg, white 33%, transparent 33%) 0 50%,
white linear-gradient(45deg, white 33%, #BCED91 33%) 0 50%;
background-repeat: repeat-x;
background-size: 1px 100%, 40px 40px, 40px 40px;
min-height: 100%;
<!-- content to be placed inside <body>…</body> -->
{"view":"split-vertical","fontsize":"80","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment