compass/doc-src/content/stylesheets/_shared.sass

3 lines
144 B
Sass
Raw Normal View History

=gradient-bg(!color, !up=5, !down=!up)
background-color: #{!color}
+linear-gradient(color_stops(lighten(!color, !up), darken(!color,!down)))