From bc4d4baf08b9b2e60fb59432dd3b8adef3f324f9 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Thu, 1 Jun 2023 16:59:57 +0200 Subject: [PATCH] Update _mixins.sass --- _mixins.sass | 10 ++++++++++ 1 file changed, 10 insertions(+) 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