jQuery演示8种不同的图片遮罩层动画效果
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了jQuery演示8种不同的图片遮罩层动画效果相关的知识,希望对你有一定的参考价值。
实例代码
<div class="container"> <h1>jQuery图标和文章动画效果</h1> <ul id="sti-menu" class="sti-menu"> <li data-hovercolor="#37c5e9"> <a href="#"> <h2 data-type="mText" class="sti-item">Advanced Patient Care</h2> <h3 data-type="sText" class="sti-item">Personalized to your needs</h3> <span data-type="icon" class="sti-icon sti-icon-care sti-item"></span> </a> </li> <li data-hovercolor="#ff395e"> <a href="#"> <h2 data-type="mText" class="sti-item">Alternative Medicine</h2> <h3 data-type="sText" class="sti-item">Holistic approaches</h3> <span data-type="icon" class="sti-icon sti-icon-alternative sti-item"></span> </a> </li> <li data-hovercolor="#57e676"> <a href="#"> <h2 data-type="mText" class="sti-item">Modern Info Center</h2> <h3 data-type="sText" class="sti-item">Educating you</h3> <span data-type="icon" class="sti-icon sti-icon-info sti-item"></span> </a> </li> <li data-hovercolor="#d869b2"> <a href="#"> <h2 data-type="mText" class="sti-item">Future Family Planning</h2> <h3 data-type="sText" class="sti-item">For a healthier future</h3> <span data-type="icon" class="sti-icon sti-icon-family sti-item"></span> </a> </li> <li data-hovercolor="#ffdd3f"> <a href="#"> <h2 data-type="mText" class="sti-item">Advanced Technology</h2> <h3 data-type="sText" class="sti-item">From the latest research</h3> <span data-type="icon" class="sti-icon sti-icon-technology sti-item"></span> </a> </li> </ul> </div> <script type="text/javascript" src="http://libs.useso.com/js/jquery/1.6.4/jquery.min.js"></script> <script type="text/javascript" src="http://libs.useso.com/js/jqueryui/1.8.13/jquery-ui.min.js"></script> <script type="text/javascript" src="/api/jq/5733e34d8007e/js/jquery.easing.1.3.js"></script> <script type="text/javascript" src="/api/jq/5733e34d8007e/js/jquery.iconmenu.js"></script> <script type="text/javascript"> $(function() { $(‘#sti-menu‘).iconmenu(); }); </script>
以上是关于jQuery演示8种不同的图片遮罩层动画效果的主要内容,如果未能解决你的问题,请参考以下文章