Gradient mixin added develop
authorLaury GvR <laury@gaslightmedia.com>
Thu, 5 Mar 2015 20:08:54 +0000 (15:08 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 5 Mar 2015 20:08:54 +0000 (15:08 -0500)
scss/mixins/_gradient.scss

index f78ba00..51b9bd7 100644 (file)
@@ -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}');
+}