<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<script type="text/javascript">
//当鼠标在页面中移动时,在控制台输出‘move’
document.onmousemove=function(){
console.log("move");
};
window.onresize=function(){
console.log("尺寸改变");
}
</script>
</body>
</html>