jQuery和CSS3响应式全屏商品介绍轮播图特效

jQuery和CSS3响应式全屏商品介绍轮播图特效

这是一款jQuery和CSS3响应式全屏商品介绍轮播图特效。该轮播图特效适用于商城的商品介绍,它支持移动手机设备,效果非常炫酷。

使用方法
在页面中引入下面的文件。

1
2
3
4
<link rel="stylesheet" type="text/css" href="assets/css/base.css" />
<link rel="stylesheet" type="text/css" href="assets/css/demo.css" />
<script src="assets/js/jquery.min.js" type="text/javascript"></script>
<script src="assets/js/demo.js"></script>

HTML结构
轮播图的基本HTML DOM 结构如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!-- COIDEA:demo START -->
<section id="ci-slider">
   
  <!-- COIDEA:demo:slider:main START -->
  <div class="ci-slider-holder">
 
    <!-- COIDEA:demo:slider:main:item START -->
    <div class="ci-slider-container ci-active" data-slide="1">
      <div class="ci-item ci-item-left">
        <div class="content">
          <p class="sub">New arrivals</p>
          <h1 class="big"><a href="#">Street Style</a></h1>
          <p class="normal">I love a black wedding dress. I like the irony in my work. I truly believe that philanthropy and commerce can work together. <span>Fashion should be fun. It shouldn't be labelled intellectual. If I had the power, I would ban leggings.</span></p>
        </div>
        <p class="background">Street</p>
      </div>
      <div class="ci-item ci-item-right"></div>
      <img class="ci-image" src="assets/img/image-1.png" />
    </div>
    <!-- COIDEA:demo:slider:main:item END -->
 
    <!-- COIDEA:demo:slider:main:item START -->
    <div class="ci-slider-container animate--start" data-slide="2">
      <div class="ci-item ci-item-left">
        <div class="content">
          <p class="sub">New arrivals</p>
          <h1 class="big"><a href="#">Vintage Looks</a></h1>
          <p class="normal">Fashion fades, only style remains the same. I always loved aesthetics. Not particularly fashion, but an idea of beauty.<span>We must never confuse elegance with snobbery. The great thing about fashion is that it always looks forward. It'
s useless to send models out on the runway to cry.</span></p>
        </div>
        <p class="background">Vintage</p>
      </div>
      <div class="ci-item ci-item-right"></div>
      <img class="ci-image" src="assets/img/image-2.png" />
    </div>
    <!-- COIDEA:demo:slider:main:item END -->
 
    <!-- COIDEA:demo:slider:main:item START -->
    <div class="ci-slider-container animate--start" data-slide="3">
      <div class="ci-item ci-item-left">
        <div class="content">
          <p class="sub">New arrivals</p>
          <h1 class="big"><a href="#">Chic Style</a></h1>
          <p class="normal">I try as much as possible to give you a great basic product and what comes out, I feel, is really amazing. <span>Fashion fades, only style remains the same. Give me time and I'll give you a revolution. Fashion can be this mysterious thing that you can't explain. My customers are successful workingwomen.</span></p>
        </div>
        <p class="background">Chic</p>
      </div>
      <div class="ci-item ci-item-right"></div>
      <img class="ci-image" src="assets/img/image-3.png" />
    </div>
    <!-- COIDEA:demo:slider:main:item END -->
 
  </div>
  <!-- COIDEA:demo:slider:main END -->
   
  <!-- COIDEA:demo:slider:indicator START -->
  <div class="slider-dots">
    <a href="#" class="dot active" data-slide="1"><span></span>fashion</a>
    <a href="#" class="dot" data-slide="2"><span></span>fashion</a>
    <a href="#" class="dot" data-slide="3"><span></span>fashion</a>
  </div>
  <!-- COIDEA:demo:slider:indicator END -->
 
</section>  
<!-- COIDEA:demo END -->
当前内容只有登录了才能查看,如果您已经注册,请登录
2

发表评论