This file contains 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
.popup-container:hover > .popup{ | |
@extend %fadeIn; | |
} | |
.popup{ | |
visibility: hidden; | |
/*Some other styles*/ | |
} | |
/*Silent Class*/ | |
%fadeIn{ |
This file contains 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
if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i))) { | |
$(".hover-affected-element").click(function(){ | |
//we just need to attach a click event listener to provoke iPhone/iPod/iPad's hover event (¿?) | |
}); | |
} |