Created
July 9, 2018 11:55
-
-
Save BeardedGinger/e17869c1f2948990b6086dc943664253 to your computer and use it in GitHub Desktop.
Angled Mixin Helpers - https://fewerthanthree.com/tutorials/using-sass-mixin-to-create-anlgled-sections
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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