当前位置:网站首页>使用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>边栏推荐
- Solid basic structure and array, private / public function, return value and modifier of function, event
- 网速、宽带、带宽、流量三者之间的关系是什么?
- Cannot link redis when redis is enabled
- 项目中字符串判空总结
- Music player development example (can be set up)
- MySQL审计插件介绍
- What are the books that have greatly improved the thinking and ability of programming?
- What data capabilities do data product managers need to master?
- 入侵检测模型(An Intrusion-Detection Model)
- 定了!2022海南二级造价工程师考试时间确定!报名通道已开启!
猜你喜欢

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

The first technology podcast month will be broadcast soon
Implementation of deploying redis sentry in k8s

One of the first steps to redis

Basic operations of SQL database
![opencv学习笔记六--图像特征[harris+SIFT]+特征匹配](/img/50/5c8adacea78e470c255070c8621ddd.png)
opencv学习笔记六--图像特征[harris+SIFT]+特征匹配

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

idea中新建的XML文件变成普通文件的解决方法.

Take you to API development by hand

S32K1xx 微控制器的硬件设计指南
随机推荐
Implementation of deploying redis sentry in k8s
Error-tf. function-decorated function tried to create variables on non-first call
How to realize clock signal frequency division?
《QT+PCL第九章》点云重建系列2
leetcode:329. 矩阵中的最长递增路径
JVM第一话 -- JVM入门详解以及运行时数据区分析
openssl客户端编程:一个不起眼的函数导致的SSL会话失败问题
Demand prioritization method based on value quantification
TypeScript:const
solidty-基础篇-结构体和数组,私有 / 公共函数,函数的返回值和修饰符,事件
Redis安装及Ubuntu 14.04下搭建ssdb主从环境
What are the requirements for NPDP product manager international certification registration?
音乐播放器开发实例(可毕设)
[leetcode] 16. The sum of the nearest three numbers
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
保证生产安全!广州要求危化品企业“不安全不生产、不变通”
Opencv Learning Notes 6 -- image feature [harris+sift]+ feature matching
《QT+PCL第六章》点云配准icp系列2
Storage form of in-depth analysis data in memory
Mongodb second talk - - mongodb High available Cluster Implementation