Skip to content

Instantly share code, notes, and snippets.

@BeardedGinger
Created July 9, 2018 11:55
Show Gist options
  • Save BeardedGinger/e17869c1f2948990b6086dc943664253 to your computer and use it in GitHub Desktop.
Save BeardedGinger/e17869c1f2948990b6086dc943664253 to your computer and use it in GitHub Desktop.
@mixin angled-top-left( $background-color: $primary-brand-color ) {
@include angled( $background-color: $background-color, $top: true, $bottom: false, $reversed: false );
}
@mixin angled-top-right( $background-color: $primary-brand-color ) {
@include angled( $background-color: $background-color, $top: true, $bottom: false, $reversed: true );
}
@mixin angled-bottom-left( $background-color: $primary-brand-color ) {
@include angled( $background-color: $background-color, $top: false, $bottom: true, $reversed: true );
}
@mixin angled-bottom-right( $background-color: $primary-brand-color ) {
@include angled( $background-color: $background-color, $top: false, $bottom: true, $reversed: false );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment