Skip to content

Instantly share code, notes, and snippets.

@Eric-Jackson
Eric-Jackson / css-triangle-mixin.scss
Last active Apr 10, 2017 — 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/)
View css-triangle-mixin.scss
@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;
}
View keybase.md

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: