From 3053c36b2ffc0ad4e9b6f8c24c29c730d23045f6 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Thu, 5 Mar 2015 15:08:54 -0500 Subject: [PATCH] Gradient mixin added --- scss/mixins/_gradient.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scss/mixins/_gradient.scss b/scss/mixins/_gradient.scss index f78ba00..51b9bd7 100644 --- a/scss/mixins/_gradient.scss +++ b/scss/mixins/_gradient.scss @@ -1,10 +1,10 @@ -/* -To change this license header, choose License Headers in Project Properties. -To change this template file, choose Tools | Templates -and open the template in the editor. -*/ /* Created on : Mar 5, 2015, 2:57:35 PM Author : laury */ +@mixin gradient($from, $to) { + background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, $from), color-stop(1, $to)); + background: -moz-linear-gradient(center top, $from 5%, $to 100%); + filter: progid:DXIm-ageTransform.Microsoft.gradient(startColorstr='#{$from}', endColorstr'#{$to}'); +} -- 2.17.1