diff --git a/_mixins.sass b/_mixins.sass index f8dfc27..bd815e4 100644 --- a/_mixins.sass +++ b/_mixins.sass @@ -1,3 +1,13 @@ +/* + * Create a hover that prevents the hover from appearing when you scroll in mobile + * + * Examples: @include hover() + */ +@mixin hover() + @media (hover: hover) + &:hover + @content + /* * Fixes an element on the page to take up all the space or only part of it. * $side: all (default), top, bottom