Created
November 25, 2014 15:31
-
-
Save startinggravity/671cca4159de37615cf8 to your computer and use it in GitHub Desktop.
Hover transition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin hover($time) { | |
-webkit-transition: all $time ease-in-out; | |
-o-transition: all $time ease-in-out; | |
-moz-transition: all $time ease-in-out; | |
transition: all $time ease-in-out; | |
} | |
// Use as: | |
@include hover(.3s); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment