所谓的界面样式,就是更改一些用户操作样式,以便提高更好的用户体验。
设置或检索在对象上移动的鼠标指针采用何种系统预定义的光标形状。
| 属性值 | 描述 |
|---|---|
| default | 小白 默认 |
| pointer | 小手 |
| move | 移动 |
| text | 文本 |
| not-allowed | 禁止 |
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Document</title><style>.default {cursor: default;}.pointer {cursor: pointer;}.move {cursor: move;}.text {cursor: text;}.not-allowed {cursor: not-allowed;}</style></head><body><ul><li class="default">小白 默认</li><li class="pointer">小手</li><li class="move">移动</li><li class="text">文本</li><li class="not-allowed">禁止</li></ul></body></html>
