样式:
js:
html:
1.div.onmousemove=function(e) e 事件对象
2.获取鼠标位置
console.log(e.x,e.y) y轴+x轴
span.style.top=e.y+"px"; y轴