Hocus a SCSS mixing

A SCSS mixin for hover and focus-visible

  @mixin hocus {

     @media (hover: hover) {

         &:hover {
             @content;
         }
     }

     &:focus-visible {
         @content;
     }
 }