1.cursor语法:
cursor : auto | crosshair | default | hand | move | help | wait | text | w-resize |s-resize | n-resize |e-resize | ne-resize |sw-resize | se-resize | nw-resize |pointer | url (url)
2.常见cursor光标类型说明:
1)div{ cursor:default }默认正常鼠标指针
2)div{ cursor:hand }和div{ cursor:text } 文本选择效果
3)div{ cursor:move } 移动选择效果
4)div{ cursor:pointer } 手指形状 链接选择效果
5)div{ cursor:url(url图片地址) }设置对象为图片
3.其他cursor光标类型说明:
选择鼠标指针浮动在其上的元素,并设置其样式:
a:hover
{
background-color:yellow;
}