File includes mixin which helps in creating triangles in css
Mixin which helps setting transition properties to given class
$color
- color of shape (required)$direction
- shape's corner direction (required)$size
- shape's size (default6px
)$position
- position of shape (defaultabsolute
)$round
- boolean if corner should be rounded (defaultfalse
)
Created rounded shape with $color-grey color and up direction
.exampleTransitionClass {
@include triangle($color: $color-grey, $direction: up, $round: true);
}