Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anthonyshort/stitch-triangle

Triangles are awesome.
https://github.com/anthonyshort/stitch-triangle

Last synced: 24 days ago
JSON representation

Triangles are awesome.

Awesome Lists containing this project

README

        

# Triangle Mixin for Sass

Triangles are pretty rad.

```scss
.dropdown {
&:before {
@include triangle($direction: 'bottom', $width: 100px, $height: 50px, $color: black);
}
}
```

Pretty simple, directions are

* top
* top-right
* right
* bottom-right
* bottom
* bottom-left
* left
* top-left

Then pass a width, height and a color. Pretty easy.

## Install via Bower

```
bower install stitch-triangle
```