Search
 
SCRIPT & CODE EXAMPLE
 

CSS

unclickable button

/*works on all html elements*/
a {
  display: inline-block;
  pointer-events: none;
}
<a href="http://stackoverflow.com" onclick="alert('clicked on link')"></a>
/*pointer events may target its descendant elements
if those descendants have pointer-events set to some other value.*/
/*demo https://codepen.io/abdelghanymh/pen/eYGeMdR*/
Comment

PREVIOUS NEXT
Code Example
Css :: space between li css 
Css :: how to print hello world with css 
Css :: ! [remote rejected] master - master (Working directory has unstaged changes) 
Css :: background degrade 
Css :: detect if an element has a class jQurey 
Css :: Find element that is causing overflow css 
Css :: secondline ellipsis 
Css :: apply color tint to image 
Css :: text stock css 
Css :: Modify blink class in CSS 
Css :: Changing to custom font in angular material 12 
Css :: change bot page background top.gg 
Css :: css parallelogram 
Css :: animation reverse 
Css :: @font-face multiple font weights 
Css :: change style of ordered list numbers css 
Css :: css flex responsive 
Css :: css remove outline 
Css :: bootstrap file upload 
Css :: how to set the scroll in bootstrap4 table body 
Css :: convert image in rounshape in css 
Css :: relier css html 
Css :: Define Or Attach Font Face In HTML CSS Web Page 
Css :: change angular material icon color 
Css :: bash list all npm processes 
Css :: css transform 
Css :: css after not working 
Css :: css break wrap header 
Css :: grid-template-areas css 
Css :: design good font color 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =