对于很多标签来说,在实现点击事件或者其他的事件的时候最好鼠标移到标签上要实现光标变为小手形状,可以实现的方式如下:
通过CSS样式实现:
<div style="cursor: pointer">鼠标移动到这</div>
当把css样式中的cursor属性改为pointer样式,就可以实现鼠标移动到标签上会显示小手形状
对于很多标签来说,在实现点击事件或者其他的事件的时候最好鼠标移到标签上要实现光标变为小手形状,可以实现的方式如下:
通过CSS样式实现:
<div style="cursor: pointer">鼠标移动到这</div>
当把css样式中的cursor属性改为pointer样式,就可以实现鼠标移动到标签上会显示小手形状