abstract:<!DOCTYPE html><html><head><meta charset="UTF-8"><title>Document</title><script type="text/javascript" src="jquery-3.3.1.js"><
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
<script type="text/javascript" src="jquery-3.3.1.js"></script>
<style>
/* p{position: absolute; margin-left: 1920px;}*/
.go{position: absolute;}
</style>
</head>
<body>
<script type="text/javascript">
// function bs(tag){
// var len=document.getElementsByTagName(tag).length
// // $miao=new Date().getSeconds() 想用时间来做变色的。做不出来。。。
// // if ($miao.toString().length==1) {
// // $miao="0"+$miao.toString()
// // }
// for (var i = 0; i < len; i++) {
// // alert($("p")[i])
// var col="rgb("+Math.floor(256*Math.random())+","+Math.floor(256*Math.random())+","+Math.floor(256*Math.random())+")"
// var mar=Math.floor(700*Math.random())+"px"
// document.getElementsByTagName(tag)[i].style.color=col
// document.getElementsByTagName(tag)[i].style.marginTop=mar
// // document.getElementsByTagName(tag)[i].style.marginLeft=mar
// }
// }
$(document).ready(function(){
bs("p")
// window.onload = function () {
// $("div").animate({right:"2080px"},300)
// }
$(".go").hover(
function(){
$(this).stop().animate({left:"800px"},300)
},
function(){
$(this).stop().animate({left:"0px"},300)
})
})
</script>
<div style="width:100px; height:100px; background:red"></div>
<!-- <div>
<p>PHP中文网</p>
<p>灭绝师太</p>
<p>独孤九剑</p>
<p>西门大官人</p>
<p>html</p>
<p>web</p>
<p>css</p>
<p>JavaScript</p>
<p>jquery</p>
<p>php</p>
<p>c#</p>
<p>c++</p>
<p>python</p>
<p>.net</p>
<p>sublime</p>
</div> -->
</body>
</html>