<html>
<head>
<script src="./js/jquery-1.11.3.js"></script>
<script>
function sssss(){
$(".dotB").animate({width:"200px", height:'200px'},500);
$(".dotB").animate({width:"50px", height:'50px'},500,sssss);
}
$(document).ready(function (){
sssss();
});
</script>
</head>
<body style="width:700">
<div class="dotB" style="position:absolute;background: red;left: 200px;top:300px;border-radius: 50%">b</div>
</body>
</html>
我想让他参照圆心变化 怎么弄??
相关分类