学习笔记19:CSS光标改变(cursor)
程序员文章站
2024-02-12 17:23:40
...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
div {
height: 100px;
width: 100px;
background-color: skyblue;
margin: 10px;
}
</style>
</head>
<body>
<div style="cursor: default;">AAAAA</div>
<div style="cursor: pointer;">AAAAA</div>
<div style="cursor: move;">AAAAA</div>
<div style="cursor: text;">AAAAA</div>
<div style="cursor: not-allowed;">AAAAA</div>
</body>
</html>