【文件属性】:
文件名称:HTML5 SVG卡通动画特效
文件大小:45KB
文件格式:ZIP
更新时间:2018-11-11 15:35:48
HTMl 5,SVG
用HTML SVG,实现小树成长的线条
$(document).ready(function(){
// Setup your Lazy Line element.
// see README file for more settings
$('#demo').lazylinepainter({
'svgData' : svgData,
'strokeWidth':2,
'strokeColor':'#dc908e',
'onComplete' : function(){
$(".treeTip").show().addClass("zoomIn");
},
'onStart' : function(){
console.log('>> onStart');
}
}
)
// Paint your Lazy Line, that easy!
var state = 'paint';
$('#demo').lazylinepainter(state);
})
【文件预览】:
animatetree
----index.html(31KB)
----js()
--------jquery.min.js(82KB)
--------jquery.lazylinepainter-1.5.1.min.js(4KB)