当前位置:网站首页>使用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>边栏推荐
- MySQL审计插件介绍
- DirectX repair tool v4.1 public beta! [easy to understand]
- 厦门灌口镇田头村特色农产品 甜头村特色农产品蚂蚁新村7.1答案
- Opencv learning note 4 -- bank card number recognition
- The first technology podcast month will be broadcast soon
- 这3款在线PS工具,得试试
- TypeScript:const
- Day-02 database
- JVM第一话 -- JVM入门详解以及运行时数据区分析
- Official announcement: Apache Doris graduated successfully and became the top project of ASF!
猜你喜欢
随机推荐
【LeetCode】16、最接近的三数之和
DirectX修复工具V4.1公测![通俗易懂]
Redis installation and setting up SSDB master-slave environment under Ubuntu 14.04
opencv学习笔记六--图像拼接
Can I choose to open an account on Great Wall Securities? Is it safe?
《QT+PCL第九章》点云重建系列2
【天线】【3】CST一些快捷键
数据产品经理需要掌握哪些数据能力?
厦门灌口镇田头村特色农产品 甜头村特色农产品蚂蚁新村7.1答案
Mongodb second call -- implementation of mongodb high availability cluster
ArrayList 扩容详解,扩容原理[通俗易懂]
Skywalking 6.4 distributed link tracking usage notes
MySQL审计插件介绍
tensorflow2-savedmodel convert to tflite
Basic operations of SQL database
项目中字符串判空总结
基于价值量化的需求优先级排序方法
《QT+PCL第六章》点云配准icp系列3
微服务追踪SQL(支持Isto管控下的gorm查询追踪)
Junda technology indoor air environment monitoring terminal PM2.5, temperature and humidity TVOC and other multi parameter monitoring

![[zero basic IOT pwn] reproduce Netgear wnap320 rce](/img/f7/d683df1d4b1b032164a529d3d94615.png)





