利用CSS3实现创意3D鞋子产品切换特效



56 223 75



特效描述:利用CSS3实现 创意3D 鞋子产品 切换特效,利用CSS3实现创意3D鞋子产品切换特效

代码结构

1. 引入CSS

<link rel="stylesheet" href="css/style.css">

2. 引入JS

<script src="js/script.js"></script>

3. HTML代码

<div id="app">
  <div class="shoe-selector">
    <div class="shoe" data-active>
      <div class="shoebox" data-animate>
        <div class="side top">
          <div class="lid"></div>
        </div>
        <div class="side front"></div>
        <div class="side back"></div>
        <div class="side left"></div>
        <div class="side right"></div>
        <div class="side bottom"></div>
        <img src="img/2.png" alt=""> </div>
      <header class="shoe-header"> <small class="shoe-subheading" data-animate>Men's Shoe</small>
        <h2 class="shoe-heading" data-animate>Converse High Top</h2>
      </header>
      <div class="shoe-price"> <span data-animate>$190</span> </div>
      <div class="shoe-rating"> <span data-animate>4.6</span> </div>
    </div>
    <div class="shoe">
      <div class="shoebox" data-animate>
        <div class="side top">
          <div class="lid"></div>
        </div>
        <div class="side front"></div>
        <div class="side back"></div>
        <div class="side left"></div>
        <div class="side right"></div>
        <div class="side bottom"></div>
        <img src="img/3.png" alt=""> </div>
      <header class="shoe-header"> <small class="shoe-subheading" data-animate>Men's Shoe</small>
        <h2 class="shoe-heading" data-animate>Nike Air Force 270</h2>
      </header>
      <div class="shoe-price"> <span data-animate>$140</span> </div>
      <div class="shoe-rating"> <span data-animate>3.9</span> </div>
    </div>
    <div class="shoe">
      <div class="shoebox" data-animate>
        <div class="side top">
          <div class="lid"></div>
        </div>
        <div class="side front"></div>
        <div class="side back"></div>
        <div class="side left"></div>
        <div class="side right"></div>
        <div class="side bottom"></div>
        <img src="img/4.png" alt=""> </div>
      <header class="shoe-header"> <small class="shoe-subheading" data-animate>Ladies' Shoe</small>
        <h2 class="shoe-heading" data-animate>New Balance 996</h2>
      </header>
      <div class="shoe-price"> <span data-animate>$180</span> </div>
      <div class="shoe-rating"> <span data-animate>4.4</span> </div>
    </div>
    <div class="shoe">
      <div class="shoebox" data-animate>
        <div class="side top">
          <div class="lid"></div>
        </div>
        <div class="side front"></div>
        <div class="side back"></div>
        <div class="side left"></div>
        <div class="side right"></div>
        <div class="side bottom"></div>
        <img src="img/5.png" alt=""> </div>
      <header class="shoe-header"> <small class="shoe-subheading" data-animate>Ladies' Shoe</small>
        <h2 class="shoe-heading" data-animate>Converse Comme Des Garcons</h2>
      </header>
      <div class="shoe-price"> <span data-animate>$150</span> </div>
      <div class="shoe-rating"> <span data-animate>4.3</span> </div>
    </div>
    <div class="shoe">
      <div class="shoebox" data-animate>
        <div class="side top">
          <div class="lid"></div>
        </div>
        <div class="side front"></div>
        <div class="side back"></div>
        <div class="side left"></div>
        <div class="side right"></div>
        <div class="side bottom"></div>
        <img src="img/1.png" alt=""> </div>
      <header class="shoe-header"> <small class="shoe-subheading" data-animate>Men's Shoe</small>
        <h2 class="shoe-heading" data-animate>Converse High Top</h2>
      </header>
      <div class="shoe-price"> <span data-animate>$140</span> </div>
      <div class="shoe-rating"> <span data-animate>4.8</span> </div>
    </div>
  </div>
</div>



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 滑动导航菜单 滑动选项卡切换 图片滑动 文字滑动 滑动手风琴 滑动星星打分 滑动滑过

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到