I have really simple solution for this.
just create a new class
.noHover{
pointer-events: none;
}
and use this to disable any event on it. use it like:
<a href="" class="btn noHover">You cant touch ME :P</a>
More Related Contents:
- How to change the cursor into a hand when a user hovers over a list item?
- What is the opposite of :hover (on mouse leave)?
- CSS transition effect makes image blurry / moves image 1px, in Chrome?
- Is there any way to hover over one element and affect a different element? [duplicate]
- Change opacity on all elements except hovered one
- How to use ‘hover’ in CSS
- CSS: Hover one element, effect for multiple elements?
- How can I delay a :hover effect in CSS?
- SVG USE element and :hover style
- Does css hover work on mobile devices?
- How can I change a button’s color on hover?
- Spin or rotate an image on hover
- image moves on hover – chrome opacity issue
- CSS: styled a checkbox to look like a button, is there a hover?
- hover on child without hover effect on parent [duplicate]
- div background color, to change onhover
- CSS hover border makes elements adjust slightly
- Is it possible to change only the alpha of a rgba background colour on hover?
- How to display and hide a div with CSS?
- Hover on child should turn off hover effect on parent [duplicate]
- Is there an opposite CSS pseudo-class to :hover?
- prevent a pseudo element from triggering hover?
- How to apply child:hover but not parent:hover
- How to apply a CSS filter to a background image
- React.js inline style best practices [closed]
- CSS background opacity with rgba not working in IE 8
- IE8 :nth-child and :before
- What does the dot mean in CSS?
- up/down arrow key issue with typeahead control (angular bootstrap UI)
- How to specify table’s height such that a vertical scroll bar appears?