Skip to content

Instantly share code, notes, and snippets.

View exah's full-sized avatar
🇺🇦
Slava Ukraini

John Grishin exah

🇺🇦
Slava Ukraini
View GitHub Profile
@exah
exah / _css-arrow.scss
Last active December 12, 2015 09:59
SCSS Arrow Please Mixin – append arrow to any element with ease.
/* !SCSS Arrow Please Mixin – append arrow to any element with ease.
Inspired by http://cssarrowplease.com
Copyleft: John Grishin (@exah)
Usage:
1. Import mixin in your SCSS file: @import "_css-arrow.scss";
2. Write in your rule: @include arrow($direction, $width, $bg-color, [$border-color], [$border-width]);
Direction parameters: top, bottom, left, right.