Skip to content

Commit

Permalink
Missing comma in float-shadow in property scope
Browse files Browse the repository at this point in the history
The missing comma here prevented the transition-property from being properly scoped to only transform and opacity. Adding in this comma mitigates that.
  • Loading branch information
benbayard committed Jan 7, 2014
1 parent a7e89ce commit ca8c6ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scss/effects/_float-shadow.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
opacity: 0;
background: radial-gradient(ellipse at center, rgba(0,0,0,.35) 0%,rgba(0,0,0,0) 80%); /* W3C */
transition-duration: $defaultDuration;
transition-property: transform opacity;
transition-property: transform, opacity;
}

&:hover {
Expand All @@ -30,4 +30,4 @@
transform: translateY(5px); /* move the element down by 5px (it will stay in place because it's attached to the element that also moves up 5px) */
}
}
}
}

0 comments on commit ca8c6ff

Please sign in to comment.