上一页 1 ··· 8 9 10 11 12
摘要: 运动框架演变过程startMove(iTarget) 运动框架startMove(obj, iTarget) 多物体startMove(obj, attr, iTarget) 任意值startMove(obj, attr, iTarget, fn) 链式运动startMove(obj, json) 阅读全文
posted @ 2019-02-19 21:23 像走了一光年 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 运动透明度:filter:alpha(opacity:30); opacity:0.3;() 想让物体运动: offsetLeft 获取的是相对于父对象的左边距 speed=speed>0?Math.ceil(speed):Math.floor(speed); 向上/下取整 1.基础:(匀速运动+透 阅读全文
posted @ 2019-02-19 19:26 像走了一光年 阅读(90) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12