This is a fork of zensimila's awesome tr3ndy long shadow mixin. It removed the @spread and added in a @min, @max which I found more useful.
- This Source; https://github.com/tomtomau/less-long-shadow
- This Author Twitter @tomnewbyau
- Original Source: https://github.com/zensimilia/less-long-shadow
- Original Author Twitter: @zensimilia
.box {
overflow: hidden;
.longShadow(@color, @size, @spread);
.longShadowBox(@color, @size, @max, @min);
}
- @color of shadow e.g.
#00FFFF
,@buttonShadowColor
ordarken(#00FFFF)
. - @size in pixels that shadow would be.
- @max the start opacity as integer percentage (e.g. 42%)
- @min the end opacity as an integer percentage (e.g. 42%)