效果图:
描述说明:
使用方法
html引入
<link rel="stylesheet" type="text/css" href="jquery.funnyText.css" /> <script src="jquery.min.js"></script> <script type="text/javascript" src="jquery.funnyText.js"></script>
html
<div class="mySelector">funnText is applied here</div>
javascript 调用
$(document).ready(function() { $('.mySelector').funnyText(); });
更多效果,默认效果的参数如下
javascript
$(document).ready(function() { $('.mySelector').funnyText({ speed: 700, borderColor: 'black', activeColor: 'white', color: 'black', fontSize: '7em', direction: 'both' }); });
转载请注明来源地址:小川编程 » https://www.youhutong.com/index.php/article/index/380.html