Skip to content

Instantly share code, notes, and snippets.

@kizu
Created December 29, 2011 16:32
Show Gist options
  • Save kizu/1534860 to your computer and use it in GitHub Desktop.
Save kizu/1534860 to your computer and use it in GitHub Desktop.
Some strange noise pattern
/* Some strange noise pattern */
BODY:before {
content: "";
position: fixed;
top:-100px;
right:0;
bottom:-100px;
left:0;
transform: skew(4deg) rotate(11deg) scale(1.3);
background:
linear-gradient(-45deg, rgba(0,0,0,.05) 15%, transparent 15%) -1px -1px,
linear-gradient(-45deg, rgba(0,0,0,.06) 15%, transparent 15%) 2px 0,
linear-gradient(225deg, rgba(0,0,0,.05) 15%, transparent 15%) 8px 2px,
linear-gradient(45deg, rgba(0,0,0,.04) 15%, transparent 15%) 4px 5px,
linear-gradient(45deg, rgba(0,0,0,.05) 15%, transparent 15%) 1px 6px,
linear-gradient(225deg, rgba(0,0,0,.07) 15%, transparent 15%) 6px 6px;
background-size: 8px 8px;
}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
{"view":"split","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment