You can do this.
pointer-events: none;
cursor: default;
more here
(Note that this is not accessible; it does not disable tabbing to the element and pressing “Enter”; the event will still fire in this case.)
You can do this.
pointer-events: none;
cursor: default;
more here
(Note that this is not accessible; it does not disable tabbing to the element and pressing “Enter”; the event will still fire in this case.)