Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

pointer events none and cursor not allowed

/* pointer-events: none; disables all mouse functions, so you need 
to wrap your button with a div then use cursor: not-allowed */

<div class="wrapper">
	<button class="pointer-events-none">Some Text</button>
</div>

.pointer-events-none {
    pointer-events: none;
}

.wrapper {
    cursor: not-allowed;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pointer #events #cursor #allowed
ADD COMMENT
Topic
Name
6+5 =