Skip to content

CSS: cursor

.--cursor-pointercursor ในฐานะคลาสระดับโลกที่ประกอบได้ — .--cursor-<value> — ใช้งานได้แบบเปล่าๆ หรือเชนต่อกับคอมโพเนนต์ใดๆ (.instui-button.--cursor-pointer).

Source: index.ts

การใช้งาน

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

ตัวอย่าง

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

ตัวปรับแต่ง

ตัวปรับแต่งคำอธิบาย
.--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.