#xxx {
cursor: default;
}
你可以使用的鼠标形状有:
style="cursor:hand"
style="cursor:crosshair"
style="cursor:text"
style="cursor:wait"
style="cursor:move"
style="cursor:help"
style="cursor:e-resize"
style="cursor:n-resize"
style="cursor:nw-resize"
style="cursor:w-resize"
style="cursor:s-resize"
style="cursor:se-resize"
style="cursor:sw-resize"
<input id= "txt1 " type= "text " style= "cursor:hand ">
<lable style= "cursor:default "> aaaaaaaaaa </lable>
<script language= "javascript ">
txt1.style.cursor= "move ";
</script>
本文介绍了多种CSS中可以使用的鼠标指针样式,包括手型、十字准星、文本编辑等,并展示了如何通过JavaScript动态更改这些样式。
534

被折叠的 条评论
为什么被折叠?



