Jquery css3豎直菜單手風琴滑動效果代碼(css未整理)



162 646 216



特效描述:豎直菜單 手風琴滑動 滑動效果,

代碼結構

1. 引入CSS

<link rel="stylesheet" type="text/css" href="css/reset.css"  />
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="css/turquoise/style.css">
<link rel="stylesheet" type="text/css" href="css/animation.css">
<link rel="stylesheet" type="text/css" href="css/live-preview.css">
<link rel="stylesheet" type="text/css" href="css/font-awesome-ie7.min.css" />

2. 引入JS

<script type="text/javascript" src="js/modernizr.custom.29473.js"></script>
<script type="text/javascript" src="js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="js/motor.js"></script>

3. HTML代碼

<section class="nav">
  <div>
    <input id="label-1" name="lida" type="radio" checked/>
    <label for="label-1" id="item1"><i class="icon-globe" id="i1"></i>Label One</label>
    <div class="content" id="a1">
      <h4>Accordion Menu</h4>
      <p>Web page backgrounds used to be commonplace, but they became unpopular once designers figured out
        that visitors to web pages didn’t want their eyes wrenched out by gaudy tiled background patterns. With
        text being as hard to read on-screen as it is, it’s adding insult to injury to inflict some nasty paisley mosaic
        background (or worse) on the poor reader, too.</p>
      <h6>The following collection of Web sites offers some outstanding references on
        CSS and its proper use on well-crafted Web pages. The very first reference
        from <a href="#">W3Schools.com</a> is terrific</h6>
    </div>
  </div>
  <div>
    <input id="label-2" name="lida" type="radio"/>
    <label for="label-2" id="item2"><i class="icon-leaf" id="i2"></i>Label Two</label>
    <div class="content" id="a2">
      <h4>Accordion Menu</h4>
      <p>Web page backgrounds used to be commonplace, but they became unpopular once designers figured out
        that visitors to web pages didn’t want their eyes wrenched out by gaudy tiled background patterns. With
        text being as hard to read on-screen as it is, it’s adding insult to injury to inflict some nasty paisley mosaic
        background (or worse) on the poor reader, too.</p>
        <h6>The following collection of Web sites offers some outstanding references on
        CSS and its proper use on well-crafted Web pages. The very first reference
        from <a href="#">W3Schools.com</a> is terrific</h6>
    </div>
  </div>
  <div>
    <input id="label-3" name="lida" type="radio"/>
    <label for="label-3" id="item3"><i class="icon-trophy" id="i3"></i>Label Three</label>
    <div class="content" id="a3">
      <h4>Accordion Menu</h4>
      <p>Web page backgrounds used to be commonplace, but they became unpopular once designers figured out
        that visitors to web pages didn’t want their eyes wrenched out by gaudy tiled background patterns. With
        text being as hard to read on-screen as it is, it’s adding insult to injury to inflict some nasty paisley mosaic
        background (or worse) on the poor reader, too.</p>
        <h6>The following collection of Web sites offers some outstanding references on
        CSS and its proper use on well-crafted Web pages. The very first reference
        from <a href="#">W3Schools.com</a> is terrific</h6>
    </div>
  </div>
  <div>
    <input id="label-4" name="lida" type="radio"/>
    <label for="label-4" id="item4"><i class="icon-gift" id="i4"></i>Label four</label>
    <div class="content" id="a4">
      <h4>Accordion Menu</h4>
      <p>Web page backgrounds used to be commonplace, but they became unpopular once designers figured out
        that visitors to web pages didn’t want their eyes wrenched out by gaudy tiled background patterns. With
        text being as hard to read on-screen as it is, it’s adding insult to injury to inflict some nasty paisley mosaic
        background (or worse) on the poor reader, too.</p>
        <h6>The following collection of Web sites offers some outstanding references on
        CSS and its proper use on well-crafted Web pages. The very first reference
        from <a href="#">W3Schools.com</a> is terrific</h6>
    </div>
  </div>
  <div>
    <input id="label-5" name="lida" type="radio"/>
    <label for="label-5" id="item5"><i class="icon-coffee" id="i5"></i>Label Five</label>
    <div class="content" id="a5">
      <h4>Accordion Menu</h4>
      <p>Web page backgrounds used to be commonplace, but they became unpopular once designers figured out
        that visitors to web pages didn’t want their eyes wrenched out by gaudy tiled background patterns. With
        text being as hard to read on-screen as it is, it’s adding insult to injury to inflict some nasty paisley mosaic
        background (or worse) on the poor reader, too.</p>
        <h6>The following collection of Web sites offers some outstanding references on
        CSS and its proper use on well-crafted Web pages. The very first reference
        from <a href="#">sc.chinaz.com</a> is terrific</h6>
    </div>
  </div>
</section>



用戶評論
大牛,別默默的看了,快登錄幫我點評一下吧!:)      登錄 | 注冊


熱門標簽: 滑動 滑塊 滑動門 觸屏滑動 滑動插件 滑塊插件 文字滑動 文字滑塊 滑動手風琴
?
×
×

注冊

官方QQ群

掃描上面二維碼加微信群

官方QQ群

jQuery/js討論群
群號:642649996
Css3+Html5討論群
群號:322131262

加群請備注:從官網了解到

老夫子电子