17 lines
743 B
SCSS
17 lines
743 B
SCSS
/*
|
|
* Gradient Tools
|
|
* Various Gradient Generators and tools.
|
|
*
|
|
* Dependencies:
|
|
*
|
|
* Version:
|
|
* 1.0.0 - 2018/05/14
|
|
*/
|
|
@mixin t-vertical-gradient($colorTop, $colorBottom) {
|
|
background-color: $colorTop; /* Old browsers */
|
|
background-image: -moz-linear-gradient(top, #{$colorTop} 0%, #{$colorBottom} 100%); /* FF3.6-15 */
|
|
background-image: -webkit-linear-gradient(top, #{$colorTop} 0%,#{$colorBottom} 100%); /* Chrome10-25,Safari5.1-6 */
|
|
background-image: linear-gradient(to bottom, #{$colorTop} 0%,#{$colorBottom} 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
|
|
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#{$colorTop}', endColorstr='#{$colorBottom}',GradientType=0 ); /* IE6-9 */
|
|
}
|