1. Standardpfeilstil:
selector {
cursor: default;
}
2. Handstil
selector {
cursor: pointer;
}
3. Textauswahlstil:
selector {
cursor: text;
}
4. Mobiler Handstil:
selector {
cursor: move;
}
5. Zoom-Handstil:
selector {
cursor: zoom-in;
/* 或者使用 zoom-out */
}
6. Verbotene Symbolstile:
selector {
cursor: not-allowed;
}
7. Verwenden Sie die Funktion url()
, um den Pfad des benutzerdefinierten Bildes anzugeben
selector {
cursor: url('custom_cursor.png'), auto;
}