当前位置:网站首页>使用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>边栏推荐
- The first technology podcast month will be broadcast soon
- 《QT+PCL第六章》点云配准icp系列4
- IDEA全局搜索快捷键(ctrl+shift+F)失效修复
- MongoDB第二話 -- MongoDB高可用集群實現
- What are the requirements for NPDP product manager international certification registration?
- Filter & (login interception)
- JVM第一话 -- JVM入门详解以及运行时数据区分析
- Basic operation of database
- [advanced ROS] lesson 5 TF coordinate transformation in ROS
- 音乐播放器开发实例(可毕设)
猜你喜欢

OpenSSL client programming: SSL session failure caused by an insignificant function

Task.Run(), Task.Factory.StartNew() 和 New Task() 的行为不一致分析

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

leetcode:329. 矩阵中的最长递增路径

MySQL审计插件介绍

Task. Run(), Task. Factory. Analysis of behavior inconsistency between startnew() and new task()

Junda technology - wechat cloud monitoring scheme for multiple precision air conditioners

opencv学习笔记四--银行卡号识别

定了!2022海南二级造价工程师考试时间确定!报名通道已开启!

In hot summer, please put away this safe gas use guide!
随机推荐
职场太老实,总被欺负怎么办?
购物商城6.27待完成
Day-02 database
定了!2022海南二级造价工程师考试时间确定!报名通道已开启!
[antenna] [3] some shortcut keys of CST
ArrayList 扩容详解,扩容原理[通俗易懂]
Opencv learning notes 5 -- document scanning +ocr character recognition
Written on the first day after Doris graduated
[lock] redis lock handles concurrency atomicity
Opencv Learning Notes 6 -- image feature [harris+sift]+ feature matching
QT capture interface is displayed as picture or label
Tensorflow 2. X realizes iris classification
音乐播放器开发实例(可毕设)
TS报错 Don‘t use `object` as a type. The `object` type is currently hard to use
Rearrangement of overloaded operators
Tableapi & SQL and MySQL insert data of Flink
What are the books that have greatly improved the thinking and ability of programming?
leetcode:329. 矩阵中的最长递增路径
竣达技术丨室内空气环境监测终端 pm2.5、温湿度TVOC等多参数监测
Fix the failure of idea global search shortcut (ctrl+shift+f)