<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      使用 jQuery & CSS3 實現優雅的手風琴效果

        手風琴效果常用于切換顯示一組內容,這種方式既可以節省網頁空間又可以有動畫效果。今天,我們將創造一個優雅的手風琴內容效果。這個想法是有懸停時滑出一些垂直手風琴標簽。我們將添加一些 CSS3 屬性來提升外觀。

       

       

      效果演示     插件下載

       

      HTML示例代碼:

      <ul class="accordion" id="accordion">
          <li class="bg1">
              <div class="heading">Heading</div>
              <div class="bgDescription"></div>
              <div class="description">
                  <h2>Heading</h2>
                  <p>Some descriptive text</p>
                  <a href="#">more ?</a>
              </div>
          </li>
      </ul>

      CSS示例代碼:

      ul.accordion li .description h2{
          text-transform:uppercase;
          font-style:normal;
          font-weight:bold;
          letter-spacing:1px;
          font-size:45px;
          color:#444;
          text-align:left;
          margin:0px 0px 15px 20px;
          text-shadow:-1px -1px 1px #ccc;
      }
      ul.accordion li .description p{
          line-height:14px;
          margin:10px 22px;
          font-family: "Trebuchet MS", sans-serif;
          font-size: 12px;
          font-style: italic;
          font-weight: normal;
          text-transform: none;
          letter-spacing: normal;
          line-height: 1.6em;
      }
      ul.accordion li .description a{
          position:absolute;
          bottom:5px;
          left:20px;
          text-transform:uppercase;
          font-style:normal;
          font-size:11px;
          text-decoration:none;
          color:#888;
      }
      ul.accordion li .description a:hover{
          color:#333;
          text-decoration:underline;
      }

      JavaScript代碼:

      $(function() {
          $('#accordion > li').hover(
              function () {
                  var $this = $(this);
                  $this.stop().animate({'width':'480px'},500);
                  $('.heading',$this).stop(true,true).fadeOut();
                  $('.bgDescription',$this).stop(true,true).slideDown(500);
                  $('.description',$this).stop(true,true).fadeIn();
              },
              function () {
                  var $this = $(this);
                  $this.stop().animate({'width':'115px'},1000);
                  $('.heading',$this).stop(true,true).fadeIn();
                  $('.description',$this).stop(true,true).fadeOut(500);
                  $('.bgDescription',$this).stop(true,true).slideUp(700);
              }
          );
      });
      

        

      您可能感興趣的相關文章

       

      本文鏈接:使用 jQuery 和 CSS3 實現優雅的手風琴效果

      編譯來源:夢想天空 ◆ 關注前端開發技術 ◆ 分享網頁設計資源

      posted @ 2014-11-06 14:13  夢想天空(山邊小溪)  閱讀(4771)  評論(0)    收藏  舉報
      主站蜘蛛池模板: 精品国产高清中文字幕| 综合区一区二区三区狠狠| 日本不卡不二三区在线看| 国产美女裸身网站免费观看视频| 亚洲国产日韩一区三区| 欧美日韩国产综合草草| 亚洲AV毛片一区二区三区| 日日躁夜夜躁狠狠躁超碰97| 九九热在线观看视频精品| 亚洲va久久久噜噜噜久久狠狠| 色播久久人人爽人人爽人人片av| 久热色视频精品在线观看| 日韩高清国产中文字幕| 在线精品视频一区二区三四| 国产一区二区三区四区激情| 国产精品天干天干综合网| 亚洲精品久久久久成人2007| 麻豆精产国品一二三区区| 亚洲中文久久久精品无码| 熟女视频一区二区在线观看| 国产精品午夜福利导航导| 不卡乱辈伦在线看中文字幕| 色翁荡熄又大又硬又粗又视频| 中文字幕色偷偷人妻久久| 日韩精品无码一区二区视频 | 日韩69永久免费视频| 久久人搡人人玩人妻精品| 免费无码黄网站在线观看| 国产精品久久久久久久久久| 97精品亚成在人线免视频| 国产97人人超碰CAO蜜芽PROM| 日本高清一区免费中文视频| 亚洲国产日韩a在线播放| 亚洲日本高清一区二区三区| 久久这里有精品国产电影网| 国产精品一国产精品亚洲| 日本中文一二区有码在线| 中文字幕亚洲国产精品| 精品久久久久久中文字幕202| 欧美亚洲综合成人A∨在线| 久久永久视频|