Last active
August 29, 2015 14:23
-
-
Save DanielMSchmidt/b3e8fd401b9df3e83039 to your computer and use it in GitHub Desktop.
Safe-touch mixin (works with sass >= 3.4 & modernizr)
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 safe-hover { | |
| @at-root #{selector-append("html.no-touch", &, ":hover")} { | |
| @content; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment