.pointer-events-none {
pointer-events: none;
}
.wrapper {
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;
}
Code Example |
---|
Css :: css not last child |
Css :: text in circle css |
Css :: ::after cant see |
Css :: css flex responsive |
Css :: bootstrap list |
Css :: half border bottom |
Css :: remove bullets from unordered list in css |
Css :: background invisible css |
Css :: css grid auto wrap |
Css :: media queries css wit logical operators |
Css :: text wrap |
Css :: add padding to scrollbar |
Css :: media query for mobile landscape only |
Css :: html how to use a background image fill not stretch |
Css :: css blur gradient |
Css :: style scrollbar overflow-y |
Css :: css horizontal linear gradient |
Css :: how to push text to the right css |
Css :: for in sass |
Css :: scss !default |
Css :: css round element |
Css :: width css property |
Css :: css border width |
Css :: griddy css |
Css :: scss linear gradient not working |
Css :: how to resize after image in css |
Css :: Timeout for a fetch |
Css :: css focus border radius |
Css :: flex direction tailwind |
Css :: arrow up css |