Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am eric-jackson on github.
  • I am ooka (https://keybase.io/ooka) on keybase.
  • I have a public key ASC2_EyEl0NamIH4JusXyYtsjV0jsP4kViPNcsOriiENzgo

To claim this, I am signing this object:

@Eric-Jackson
Eric-Jackson / css-triangle-mixin.scss
Last active April 10, 2017 17:38 — forked from mynameispj/css-triangle-mixin.sass
SASS mixin to help build CSS triangles (CSS triangle hat-tip to CSS-Tricks: http://css-tricks.com/snippets/css/css-triangle/)
@mixin css-arrow($color: #000, $size: '10px', $thickness: '5px' $direction: 'up') {
width: 0
height: 0
@if $direction == 'up' {
border-right: $size solid transparent;
border-left: $size solid transparent;
border-bottom: $thickness solid $color;
}