zoukankan      html  css  js  c++  java
  • jQuery实现手机竖直手风琴效果

    效果:http://hovertree.com/texiao/jquery/65/

    效果图:

    手机扫描二维码查看效果:


    代码:

    <!doctype html>
    <html lang="zh">
    <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>jQuery扁平UI设计垂直手风琴特效 - 何问起</title><base target="_blank" />
    
    <link rel="stylesheet" type="text/css" href="http://hovertree.com/texiao/jquery/65/css/normalize.css" />
    <link rel="stylesheet" type="text/css" href="http://hovertree.com/texiao/jquery/65/css/demo.css">
    
    <!--必要样式-->
    <link rel="stylesheet" href="http://hovertree.com/texiao/jquery/65/css/style.css">
    
    </head>
    <body>
    
    <div class="accordion">
    <div class="item">
    <img src="http://hovertree.com/texiao/jquery/65/img/Location-Pin.png" alt="">
    <h3>Location</h3>
    </div>
    <p>您正在何问起特效库。<a href="http://hovertree.com/">首页</a> - <a href="http://hovertree.com/texiao/">特效库</a> - <a href="http://hovertree.com/texiao/jquery/65/">手风琴</a></p>
    <div class="item">
    <img src="http://hovertree.com/texiao/jquery/65/img/Headphones.png" alt="">
    <h3>Music</h3>
    </div>
    <p>好听音乐。<audio controls="controls" src="http://cms.hovertree.com/hovertreesound/hwqxnl.mp3"></audio></p>
    <div class="item">
    <img src="http://hovertree.com/texiao/jquery/65/img/Lightbulb.png" alt="">
    <h3>Notes</h3>
    </div>
    <p>受到网店的影响,<a href="http://hovertree.com/h/bjaf/6sm1esjw.htm">服装店</a>的生意逐渐有所下降,老板找何问起去谈,大概是准备跟上网购潮流,让何问起准备一下, 要在网上开网店,要为服装店建立网站。</p>
    <div class="item">
    <img src="http://hovertree.com/texiao/jquery/65/img/Bookmarks.png" alt="">
    <h3>Books</h3>
    </div>
    <p>电子书:<br /><a href="http://hovertree.com/h/bjaf/246k8ygw.htm">http://hovertree.com/h/bjaf/246k8ygw.htm</a> 
    <br /><a href="http://hovertree.com/h/bjaf/dianzishu.htm">电子书特效</a></p>
    <div class="item">
    <img src="http://hovertree.com/texiao/jquery/65/img/Lightning-Bolt.png" alt="">
    <h3>Tendances</h3>
    </div>
    <p>燃烧吧 何问起 <a href="http://hovertree.com/h/bjaf/xmrvjvng.htm">看看</a></p>
    </div>
    <div class="hovertreeinfo"><a href="http://hovertree.com/h/bjaf/vk9yjrpm.htm">原文</a> <a href="http://hovertree.com">首页</a> <a href="http://hovertree.com/texiao/">特效</a></div>
    <script src="http://down.hovertree.com/jquery/jquery-1.12.3.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    (function ($) {
    'use strict';
    $('.item').on("click", function () {
    $(this).next().slideToggle(100);
    $('p').not($(this).next()).slideUp('fast');
    });
    }(jQuery));
    </script>
    
    </body>
    </html>

    转自:http://hovertree.com/h/bjaf/vk9yjrpm.htm

    特效:http://www.cnblogs.com/roucheng/p/texiao.html

  • 相关阅读:
    react redux
    react 路由 react-router@3.2.1
    react 生命周期
    重载 UINavigationController 设置左侧返回按钮的文字为图片
    使用 SQLiteManager 操作 sqlite3 数据库
    使用 DES 算法对数据加密
    使用 Reachability 获取网络状态
    NSPredicate 的使用(持续更新)
    使用开源库 SDWebImage 异步下载缓存图片(持续更新)
    Grand Central Dispatch (GCD)
  • 原文地址:https://www.cnblogs.com/roucheng/p/shoufengqin.html
Copyright © 2011-2022 走看看