Last active
December 16, 2015 01:39
-
-
Save davidpett/5356612 to your computer and use it in GitHub Desktop.
a mixin that removes hover/focus states of links on mobile size to get around the "virtual cursor"
This file contains hidden or 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 link($color, $color-hover) { | |
color: $color; | |
@include responsive($large) { | |
&:hover, | |
&:focus { | |
color: $color-hover; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nice one .. i wrote this mixin to set value of a property for various widths https://gist.github.com/dhruvparmar372/9987808 ..