How to remove the overlay border from iOS devices in mobile view

Using this methode we can remove the box border for the IOS device in the mobile view

jQuery

jQuery( "#meganav" ).on("mouseenter",
    function() {
    jQuery("#meganav-overlay").addClass("meganav-overlay").css({opacity: 0.2}).show();
}).on("mouseleave", function() {
jQuery("#meganav-overlay").removeClass("meganav-overlay").hide();    
}); 

HTML

<div id="meganav-overlay"></div>

Leave a comment

Your email address will not be published. Required fields are marked *