当前位置:网站首页>使用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 markdown editor uses basic syntax
- The first word of JVM -- detailed introduction to JVM and analysis of runtime data area
- Detailed explanation of ArrayList expansion, expansion principle [easy to understand]
- 关于重载运算符的再整理
- tensorflow2-savedmodel convert to pb(frozen_graph)
- 贝联珠贯加入龙蜥社区,共同促进碳中和
- 首届技术播客月开播在即
- Fix the failure of idea global search shortcut (ctrl+shift+f)
- Some thoughts on software testing
- Ubuntu 14.04下搭建MySQL主从服务器
猜你喜欢

厦门灌口镇田头村特色农产品 甜头村特色农产品蚂蚁新村7.1答案

It's settled! 2022 Hainan secondary cost engineer examination time is determined! The registration channel has been opened!

Opencv learning notes 5 -- document scanning +ocr character recognition

opencv学习笔记六--图像拼接

互联网医院系统源码 医院小程序源码 智慧医院源码 在线问诊系统源码

What are the books that have greatly improved the thinking and ability of programming?

Music player development example (can be set up)
![opencv学习笔记六--图像特征[harris+SIFT]+特征匹配](/img/50/5c8adacea78e470c255070c8621ddd.png)
opencv学习笔记六--图像特征[harris+SIFT]+特征匹配

竣达技术丨室内空气环境监测终端 pm2.5、温湿度TVOC等多参数监测

【ROS进阶篇】第五讲 ROS中的TF坐标变换
随机推荐
TypeScript:var
基于价值量化的需求优先级排序方法
Cannot link redis when redis is enabled
Error-tf. function-decorated function tried to create variables on non-first call
Redis installation and setting up SSDB master-slave environment under Ubuntu 14.04
Task.Run(), Task.Factory.StartNew() 和 New Task() 的行为不一致分析
It's suitable for people who don't have eloquence. The benefits of joining the China Video partner program are really delicious. One video gets 3 benefits
leetcode:329. Longest increasing path in matrix
厦门灌口镇田头村特色农产品 甜头村特色农产品蚂蚁新村7.1答案
Basic operations of SQL database
[lock] redis lock handles concurrency atomicity
深度分析数据在内存中的存储形式
这3款在线PS工具,得试试
Flink 系例 之 TableAPI & SQL 与 MYSQL 分组统计
JVM第二话 -- JVM内存模型以及垃圾回收
【锁】Redis锁 处理并发 原子性
These three online PS tools should be tried
微信公众号订阅消息 wx-open-subscribe 的实现及闭坑指南
Configuration of ZABBIX API and PHP
点云重建方法汇总一(PCL-CGAL)