DEV Community

dgloriaweb
dgloriaweb

Posted on

1

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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more