Swiper实现轮播图效果

前端之家收集整理的这篇文章主要介绍了Swiper实现轮播图效果前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

本文实例为大家分享了Swiper实现轮播图效果的具体代码,供大家参考,具体内容如下

<Meta charset="utf-8">

Swiper demo <Meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1">

<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide">Slide 1


<div class="swiper-slide">Slide 2

<div class="swiper-slide">Slide 3

<div class="swiper-slide">Slide 4

<div class="swiper-slide">Slide 5

<div class="swiper-slide">Slide 6

<div class="swiper-slide">Slide 7

<div class="swiper-slide">Slide 8

<div class="swiper-slide">Slide 9
<div class="swiper-slide">Slide 10

<div class="swiper-pagination">

<script src="../dist/js/swiper.min.js">

最后 别忘了再打这些东西之前要引Swiper.css和Swiper.js插件哦!

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持编程之家。

轮播图

猜你在找的JavaScript相关文章