Permalink
Browse files

Fix linear-gradient css3 bug with background positioning

  • Loading branch information...
1 parent 02900ae commit 4802351db71c03f75e6e9459505e11444c6f177c Phil LaPier committed Aug 5, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 app/assets/stylesheets/css3/_linear-gradient.css.scss
  2. +1 −1 readme.md
@@ -8,7 +8,7 @@
$pos-type: type-of(nth($pos, 1));
// If $pos is missing from mixin, reassign vars and add default position
- @if $pos-type == color or transparent {
+ @if ($pos-type == color) or ($pos == "transparent") {
$G10: $G9; $G9: $G8; $G8: $G7; $G7: $G6; $G6: $G5;
$G5: $G4; $G4: $G3; $G3: $G2; $G2: $G1; $G1: $pos;
$pos: top; // Default position
View
@@ -290,7 +290,7 @@ Animation-keyframes are provided for quick out-of-the-box animations. Two animat
The button add-on provides well-designed buttons with a single line in your CSS.
The mixin supports a style parameter and an optional color argument. The available styles are **"simple"** (default), **"shiny"**, and **"pill"**.
- # The mixin can be called with no arguments, which will render a blue button with the **"simple"** style.
+ # The mixin can be called with no arguments, which will render a blue button with the "simple" style.
button, input[type="button"] {
@include button;
}

0 comments on commit 4802351

Please sign in to comment.