From: Laury GvR Date: Thu, 5 Mar 2015 20:08:54 +0000 (-0500) Subject: Gradient mixin added X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fdevelop;p=WP-Themes%2FQuickSites.git Gradient mixin added --- 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}'); +}