鼠标样式 cursor
更多可参考文档
设置或检索在对象上移动的鼠标指针采用何种系统预定义的光标形状。
语法:
li {cursor: pointer; }
可以拷贝自己试试效果
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>用户界面样式-鼠标样式</title></head><body><ul><li style="cursor: default;">我是默认的小白鼠标样式</li><li style="cursor: pointer;">我是鼠标小手样式</li><li style="cursor: move;">我是鼠标移动样式</li><li style="cursor: text;">我是鼠标文本样式</li><li style="cursor: not-allowed;">我是鼠标禁止样式</li></ul></body></html>