public
Created

  • Download Gist
i_love_sass.scss
SCSS
1 2 3 4 5 6 7 8 9 10
@mixin slider-nav($sprite, $total-width) {
position:absolute;
$sprite-height:slider-sprite-height($sprite);
$sprite-width:slider-sprite-width($sprite);
$margin:($base-line-height/2) - ($sprite-height/2);
margin-top: $margin;
margin-bottom: $margin;
left: (($total-width - $sprite-width) / 2);
@include slider-sprite($sprite, true);
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.