Skip to content

Instantly share code, notes, and snippets.

@yowainwright
Created November 30, 2017 09:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yowainwright/c9d265b42c829a542f83e95c35a7ee04 to your computer and use it in GitHub Desktop.
Save yowainwright/c9d265b42c829a542f83e95c35a7ee04 to your computer and use it in GitHub Desktop.
Useful Stripes SCSS Mixin
@mixin stripes($backgroundColor: black) {
background-color: $backgroundColor;
background-image: linear-gradient(to bottom right, transparent, transparent 25%, rgba(255,255,255,.2) 25%, rgba(255,255,255,.2) 50%, transparent 50%, transparent 75%, rgba(255,255,255,.2) 75%, rgba(255,255,255,.2));
background-size: 4px 4px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment