cursor-not-allowed cursor: not-allowed; cursor-none cursor: none; cursor-context-menu cursor: context-menu; cursor-progress cursor: progress; cursor-cell cursor: cell; cursor-crosshair cursor: crosshair; cursor-vertical-text cursor: vertical-text; ...
应为不同类型的交互区域选择合适的鼠标指针样式。例如,cursor-pointer应应用于可点击的按钮或链接,而cursor-not-allowed则用于表示禁用的元素。这样,用户就能通过鼠标指针的样式快速识别出元素的交互状态。 其次,保持可访问性也很重要。鼠标指针样式是界面可用性的重要部分,应结合元素的禁用状...
.alias {cursor: alias;} .all-scroll {cursor: all-scroll;} .auto {cursor: auto;} .cell {cursor: cell;} .context-menu {cursor: context-menu;} .col-resize {cursor: col-resize;} .copy {cursor: copy;} .crosshair {cursor: crosshair;} .default {cursor: default;} .e-resize {cursor:...
cursorless.maximumHatStylePenalty: The maximum allowed penalty for a hat style. Any hat style whose penalty is greater than this amount will not be used. A hat style penalty is defined to be the shape penalty plus the colour penalty. Setting this value less than or equal to zero is treate...
// tailwind.config.jsmodule.exports={theme:{cursor:{auto:'auto',default:'default',pointer:'pointer',-wait:'wait',text:'text',-move:'move','not-allowed':'not-allowed',+crosshair:'crosshair',+'zoom-in':'zoom-in',}}} Variants