摘要: css: html: $(function() { $("#process1").FnExe({ num : "80" }); $("#process2").FnExe({ num : "60" }); $("#process3").FnExe({ num : "90" }); $("#proces 阅读全文
posted @ 2017-11-27 17:28 seafwg 阅读(238) 评论(0) 推荐(0)
摘要: css: html: jQuery: 基本原理:最外侧的div是背景是进度条的颜色,其中间有三个div盒子,分别是左侧,右侧,显示百分比的区域。左侧和右侧分别使用clip属性对其进行裁剪。通过js进行旋转。当值小于50的时候右侧的旋转:值*3.6+deg;当值大于50的时候左侧旋转的度数为:值-50 阅读全文
posted @ 2017-11-27 14:36 seafwg 阅读(1017) 评论(0) 推荐(0)