码迷,mamicode.com
首页 > Web开发 > 详细

jQuery演示8种不同的图片遮罩层动画效果

时间:2016-12-08 09:37:15      阅读:188      评论:0      收藏:0      [点我收藏+]

标签:get   alt   .sh   enter   use   java   html   span   不同   


技术分享
 

效果预览

下载地址

jQuery插件大全

实例代码

<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种不同的图片遮罩层动画效果

标签:get   alt   .sh   enter   use   java   html   span   不同   

原文地址:http://www.cnblogs.com/niuboren/p/6143562.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!