<script>
var?bxh=document.querySelector(".bxh");
bxh.style.position="relative";
bxh.style.left="0px";
bxh.style.top="0px";
bxh.onmousemove=function(e){
var?e=e||window.event;
if(e.offsetX<this.offsetWidth/2)this.style.left=parseInt(this.style.left)+8+"px";
if(e.offsetX>this.offsetWidth/2)this.style.left=parseInt(this.style.left)-8+"px";
if(e.offsetY<this.offsetHeight/2)this.style.top=parseInt(this.style.top)+8+"px";
if(e.offsetY>this.offsetHeight/2)this.style.top=parseInt(this.style.top)-8+"px";
}
</script>