鼠标相关样式
- 参考下面代码 或 https://developer.mozilla.org/zh-CN/docs/Web/CSS/cursor
- cursor 改变鼠标箭头的样式。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style type="text/css">
p:nth-child(1) {
cursor: default;
}
p:nth-child(2) {
cursor: pointer;
}
p:nth-child(3) {
cursor: text;
}
p:nth-child(4) {
cursor: move;
}
p:nth-child(5) {
cursor: help;
}
p:nth-child(6) {
cursor: wait;
}
p:nth-child(7) {
cursor: grab;
}
</style>
</head>
<body>
<div>
<p>aaaa</p>
<p>bbbb</p>
<p>ccccc</p>
<p>ddddd</p>
<p>eeeee</p>
<p>fffff</p>
<p>ggggg</p>
</div>
</body>
</html>