一般我们在浏览网页的时候,我们的鼠标只有三种样式,分别为text(遇到文本内容时,I),pointer(遇到超链接,手指形状),和default(没遇到实际内容,箭头形状),如果我们想要改变鼠标的悬停样式,我们该怎么办呢?
下面是一个简单的例子
<html><head>
<style type="text/css">
input.username:hover {cursor:move}<!--此处的move可以换为想要的样式的属性值-->
</style>
</head>
<body>
<p><b><input name="username" id="username" class="username"/></b></p>
</body>
</html>
move可以修改为以下图片的值