<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>我想讓他參照圓心變化 怎么弄??
jquery 動畫 沿著中心點 怎么弄?
揚帆大魚
2019-02-01 14:12:06