Particleground 粒子特效插件
生活随笔
收集整理的這篇文章主要介紹了
Particleground 粒子特效插件
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
引入:
<script?type='text/javascript'?src='js/jquery-1.11.1.min.js'></script>
<script?type='text/javascript'?src='jquery.particleground.min.js'></script>
<html>
<div?id="particles"> ?? <div?class="intro"> ???? <h1>Particleground</h1> ???? <p>A?jQuery?plugin?for?snazzy?background?particle?systems</p> ?? </div> </div> </html> //js初始化插件,調用對應的id
$('#particles').particleground();
//設置粒子系統點和線的顏色 $('#your-element').particleground({ ????dotColor:?'#ff0000', ????lineColor:?'#ff0000' });
$('#particles').particleground();
//設置粒子系統點和線的顏色 $('#your-element').particleground({ ????dotColor:?'#ff0000', ????lineColor:?'#ff0000' });
總結
以上是生活随笔為你收集整理的Particleground 粒子特效插件的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 解决mac升级后,出现的 xcrun:
- 下一篇: Android 活体人脸实时采集,百度、