Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"水球動畫"
Bootstrap 3.3.0 Snippet by
taironlife
3.3.0
jQuery
Preview
HTML
JS
View Full Screen
Fork
Fork this
1.5K
 
0 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <script src="http://www.dowebok.com/demo/190/js/waterbubble.js"></script> <div class="container"> <div class="row"> <h2 class="text-center">水球動畫</h2> <div class="col-md-2 col-md-offset-5"> <canvas id="dowebok"></canvas> </div> </div> </div>
$(document).ready(function(){ $('#dowebok').waterbubble({ radius: 100, // 水球的半径 lineWidth: '', // 水球的边框宽度 data: 0.5, // 水球内水的多少(数据多少) waterColor: 'blue', // 水球的颜色和透明度 txt: 'text1234', // 水球内的文本 textColor: '#ccc', // 文本的颜色和透明度 font: '', // 设置文本字体 wave: true, // 是否显示波纹 animation: true // 是否显示动画 }); });
Related:
See More
Template
Gaia Bootstrap Template Pro
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76