css cursor手掌
时间: 2023-08-18 21:12:50 浏览: 103
css cursor 的可选值(鼠标的各种样式)
引用\[2\]中提到了一种设置CSS cursor属性为手掌形状的方法。可以使用以下代码实现:
```css
div {
cursor: pointer;
}
```
这样设置后,当鼠标指针放在该元素上时,会显示为手掌形状的光标。\[2\]
另外,CSS cursor属性还可以设置其他形状的光标,比如箭头、十字线等。具体的取值可以参考引用\[3\]中的完整取值列表。
#### 引用[.reference_title]
- *1* [CSS中cursor属性给标签加上小手形状](https://blog.csdn.net/qq_41451744/article/details/124944117)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [用css 添加手状样式,鼠标移上去变小手](https://blog.csdn.net/tea_tea_/article/details/125839378)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [CSS 属性 cursor 手势设置(琐碎知识点整理)](https://blog.csdn.net/wuzhiyue2/article/details/117990778)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文