Skip to content

CSS: cursor

.--cursor-pointercursor jako komponowalna, globalna klasa — .--cursor-<value> — używana solo lub dołączana łańcuchowo do dowolnego komponentu (.instui-button.--cursor-pointer).

Source: index.ts

Użycie

css
@import "@pantoken/components/utilities.css";

Przykłady

html
<div class="--cursor-pointer">…</div>

Modyfikatory

ModyfikatorOpis
.--cursor-autocursor: auto.
.--cursor-defaultcursor: default.
.--cursor-grabcursor: grab.
.--cursor-movecursor: move.
.--cursor-not-allowedcursor: not-allowed.
.--cursor-pointercursor: pointer.
.--cursor-textcursor: text.
.--cursor-waitcursor: wait.