a::after { display: none; content: "pseudo block!"; } a:hover::after { display: inline; } On a browser with a cursor pointer, you'll see the pseudo element reveal itself on :hover. Example 1: This example using the approach discussed above. On the button click event I will disable the input control. jQuery Mobile is a HTML5-based user interface system designed to make responsive web sites and apps that are accessible on all smartphone, tablet and desktop devices. How to prevent sticky hover effects for buttons on touch devices .unbind() | jQuery API Documentation selector.hover( over, out ) Parameters jQuery Mobile API Documentation Tilt.js - A tiny parallax tilt effect for jQuery 2. With a combination of versatility and extensibility, jQuery has changed the way that millions of people . .hover() | jQuery API Documentation Code included inside $ ( window ).on ( "load", function () { . }) i did something like this: $('div').hover(function(){ // do something },function(){ // do something else }); but after some event, i need to disable How to disable 'on-hover' effects for hidden buttons ... - Vanilla Forums The condition 'hover: hover' refers to the devices that support hover. Example 1: This example using the .unbind () method. Free jQuery Plugins and Tutorials - One of the BEST jQuery websites that provide web designers and developers with a simple way to preview and download a variety of . mouseHover is a replacement for the jQuery hover () function that disables/ignores the tap-hover event on touch devices. On mobile devices, the hover effect doesn't make sense and it can cause issues if a user clicks on the button. 2. Any HTML element can receive this event. 1 The hover( over, out ) method simulates hovering (moving the mouse on, and off, an object). Dialog | jQuery UI Consider this typical Suckerfish-style HTML . Let's redefine the CSS: CSS.