久久资源网

创意的3D鞋子产品切换效果

创意的3D鞋子产品切换效果

2019-06-28 20:30:20 CSS3实例

售价:5.00积分 会员免费

特别声明:资源售价只是赞助,不代表代码或者素材本身点数。收取费用仅维持本站的日常运营所需!

创意的3D鞋子产品切换效果

基于CSS3 3D @keyframers动态切换效果,点击盒子打开展示鞋子切换。这是一款创意的鞋子产品展示布局特效。

使用方法

1、head引入css文件

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

2、body引入部分

<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>
<script  src="js/script.js"></script>

资源出处:https://www.moyublog.com/codes/9333.html

关注微信