DEV Community

dgloriaweb
dgloriaweb

Posted on

The pointer-events :none resets the cursor to default (arrow)

Just a quick trick, if a button is disabled, no need to change hover cursor, it will reset if pointer-events is set to none.

Top comments (0)