css-更改鼠标样式

<!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>Document</title>
    <style>
        ul li {
            line-height: 50px;
        }
    </style>
</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>
posted @ 2025-09-24 09:25  紫川先生  阅读(6)  评论(0)    收藏  举报