Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/anthonyshort/stitch-triangle
- Owner: anthonyshort
- Created: 2012-10-30T12:06:50.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-11-02T09:10:46.000Z (about 12 years ago)
- Last Synced: 2024-10-10T22:25:50.364Z (28 days ago)
- Language: Ruby
- Size: 117 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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-leftThen pass a width, height and a color. Pretty easy.
## Install via Bower
```
bower install stitch-triangle
```