鼠标常用样式(cursor)
<body> <div>常用的鼠标样式(cursor):pointer,move,defalt,text(火狐不支持hand)</div> </body>
<style> div { width: 200px; height: 200px; background: rgb(184, 147, 147); } div:hover { cursor: pointer;/* 小手 */ cursor: move;/* 十字架 */ cursor: default;/* 默认白色箭头 */ cursor: text;/* I型 */ } </style>
【转载文章务必保留出处和署名,谢谢!】