.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 :: round button css |
Css :: css line break width |
Css :: css text truncate 2 lines |
Css :: css circle border |
Css :: background color in css |
Css :: watch scss to css |
Css :: make an anchor tag inactive |
Css :: css important |
Css :: position relative get in center |
Css :: universal css |
Css :: grid center |
Css :: flex center |
Css :: css transparent input text box |
Css :: add glow to image css |
Css :: ratio bootstrap |
Css :: how to make borders rounded in css |
Css :: css photo circle |
Css :: trasition opacity |
Css :: open sans css |
Css :: css no bottom ouline |
Css :: ovale css |
Css :: gradient over image css |
Css :: input start typing in the center |
Css :: box shadow border |
Css :: how to lighten a color in css |
Css :: check if audio element is playing css |
Css :: pressed button css&html |
Css :: add font css |
Css :: border radius circle button |
Css :: css dark mode |