摘要: div跟随鼠标移动是依赖于鼠标移动事件(onmousemove),废话不多说直接上代码: CSS: <style> #div1{ width:50px; height:50px; border-radius:25px; background-color:rgba(0,0,0,0.5); cursor 阅读全文
posted @ 2018-12-18 10:11 james_liang 阅读(2254) 评论(0) 推荐(0) 编辑