Installation - nonlinear/tile GitHub Wiki
Via Bower
- Go to your project folder and run
bower install tile --save
- on your main SASS file, add
@import ./bower_components/tile/tile.sass
snippet | description |
---|---|
tile |
pattern mixin |
knockout |
Applies pattern effects on text |
Variables are, in order:
$tile
(see below)$size
(in px)$background-color
$foreground-color
$background-alpha
(defaults to 1)$foreground-alpha
(defaults to 1)
type | tile |
---|---|
lines | lines-a , lines-b , lines-c |
lines-down | lines-down-a , lines-down-b , lines-down-c |
lines-up | lines-up-a , lines-up-b , lines-up-c |
lines-vert | lines-vert-a , lines-vert-b , lines-vert-c |
cross | cross-a , cross-b , cross-c |
cross-thin | cross-thin-a , cross-thin-b , cross-thin-c |
dots | dots-a , dots-b , dots-c |