Skip to content

Instantly share code, notes, and snippets.

@maxxcrawford
Created January 18, 2016 16:49
Show Gist options
  • Save maxxcrawford/407d3024f8afe9be6250 to your computer and use it in GitHub Desktop.
Save maxxcrawford/407d3024f8afe9be6250 to your computer and use it in GitHub Desktop.
SASS Mixin for CSS Stripes Border
@mixin stripes($color: $black, $size: 5px) {
background-color: transparent;
background-size: $size $size;
background-image: repeating-linear-gradient(-45deg, $color 0, $color 25%, transparent 0, transparent 51%);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment