当前位置:网站首页>使用swiper制作手机端轮播图
使用swiper制作手机端轮播图
2022-07-01 15:09:00 【蹦跶哒的王小哲】
自行在swiper官网下载swiper.min.css 以及 swiper.min.js
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>手机端轮播图</title>
<link rel="stylesheet" href="./css/swiper.min.css">
</head>
<body>
<div class="contenter">
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide"><img width="100%" src="./images/bj02.png" alt=""></div>
<div class="swiper-slide"><img width="100%" src="./images/bj03.png" alt=""></div>
</div>
</div>
</div>
<script src="./js/swiper.min.js"></script>
<script>
var mySwiper = new Swiper('.swiper-container', {
autoplay: 3000,//可选选项,自动滑动
})
</script>
</body>
</html>边栏推荐
- 音乐播放器开发实例(可毕设)
- solidty-基础篇-基础语法和定义函数
- idea中新建的XML文件变成普通文件的解决方法.
- Introduction to MySQL audit plug-in
- solidty-基础篇-结构体和数组,私有 / 公共函数,函数的返回值和修饰符,事件
- 竣达技术丨多台精密空调微信云监控方案
- Zabbix API与PHP的配置
- Intelligent operation and maintenance practice: banking business process and single transaction tracking
- Music player development example (can be set up)
- Redis安装及Ubuntu 14.04下搭建ssdb主从环境
猜你喜欢

How to realize clock signal frequency division?
![[leetcode 324] swing sorting II thinking + sorting](/img/cb/26d89e1a1f548b75a5ef9f29eebeee.png)
[leetcode 324] swing sorting II thinking + sorting
![[zero basic IOT pwn] reproduce Netgear wnap320 rce](/img/f7/d683df1d4b1b032164a529d3d94615.png)
[zero basic IOT pwn] reproduce Netgear wnap320 rce
Implementation of deploying redis sentry in k8s

微服务追踪SQL(支持Isto管控下的gorm查询追踪)

Fix the failure of idea global search shortcut (ctrl+shift+f)

Take you to API development by hand
![[leetcode 324] 摆动排序 II 思维+排序](/img/cb/26d89e1a1f548b75a5ef9f29eebeee.png)
[leetcode 324] 摆动排序 II 思维+排序

《QT+PCL第六章》点云配准icp系列2

Opencv Learning Notes 6 -- image mosaic
随机推荐
Solid basic structure and array, private / public function, return value and modifier of function, event
The difference between arrow function and ordinary function in JS
[antenna] [3] some shortcut keys of CST
榨汁机UL982测试项目有哪些
【ROS进阶篇】第五讲 ROS中的TF坐标变换
JVM second conversation -- JVM memory model and garbage collection
The State Administration of Chia Tai market supervision, the national development and Reform Commission and the China Securities Regulatory Commission jointly reminded and warned some iron ores
MySQL审计插件介绍
solidty-基础篇-基础语法和定义函数
Take you to API development by hand
Ubuntu 14.04下搭建MySQL主从服务器
Tableapi & SQL and MySQL grouping statistics of Flink
TypeScript:const
数据产品经理需要掌握哪些数据能力?
厦门灌口镇田头村特色农产品 甜头村特色农产品蚂蚁新村7.1答案
Flink 系例 之 TableAPI & SQL 与 Kafka 消息插入
Apk signature principle
职场太老实,总被欺负怎么办?
《QT+PCL第六章》点云配准icp系列3
Storage form of in-depth analysis data in memory