当前位置: 首页 > news >正文

css-轮播图效果

<!DOCTYPE html>
<html lang="zh-EN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Document</title><style>* {margin: 0;padding: 0;}li {list-style: none;}.tb-promo {position: relative;width: 520px;height: 280px;margin: 0 auto;}.tb-promo img {width: 100%;height: 100%;}a {text-decoration: none;}.pre {left: 0;border-top-right-radius: 15px;border-bottom-right-radius: 15px;}.pre,.next {position: absolute;top: 50%;margin-top: -15px;width: 20px;height: 30px;background: rgba(0, 0, 0, 0.3);color: #fff;text-align: center;line-height: 30px;}.next {right: 0;border-top-left-radius: 15px;border-bottom-left-radius: 15px;}.prom-nav {position: absolute;width: 70px;height: 13px;background: rgba(255, 255, 255, .3);bottom: 15px;left: 50%;margin-left: -35px;border-radius: 7px;}.prom-nav li {width: 8px;height: 8px;background-color: #fff;float: left;border-radius: 4px;margin: 3px;}.prom-nav .sel {background-color: #ff5000;}</style>
</head><body><div class="tb-promo"><img src="imgs/002.gif" alt=""><a href="#" class="pre">&lt;</a><a href="#" class="next">&gt;</a><ul class="prom-nav"><li class="sel"></li><li></li><li></li><li></li><li></li></ul></div>
</body></html>
http://www.zskr.cn/news/10676.html

相关文章:

  • aspnetcore使用websocket实时更新商品信息
  • 漏洞挖掘实战:如何定制化模糊测试技术
  • css-遮罩层效果
  • css-浮动围绕文字效果
  • 基于Python+Vue开发的摄影网上预约管理系统源码+运行步骤
  • css-定位让盒子居中显示
  • 在线教育软件开发的全流程解析与优化方案
  • 浅谈云原生数据库
  • AT_abc201_f [ABC201F] Insertion Sort 题解
  • c语言动态内存分配
  • 2025.9.24——1橙
  • 完整教程:MySQL 启动日志报错: File /mysql-bin.index not found (Errcode: 13 - Permission denied)
  • Python爬虫实现大乐透历史数据抓取
  • Java实现双色球历史是否中奖查询
  • 别再混淆 PHP8.1 中纤程 Fibers 和协程 Coroutines 了 一文搞懂它们的区别
  • 详细介绍Seata的AT模式分布式事务
  • VMware VeloCloud 漏洞分析:未授权远程代码执行全链条攻破
  • HJ9 提取不重复的整数
  • PRISMS Junior Varsity Training 20250919
  • 为你的数据选择合适的分布:8个实用的概率分布应用场景和选择指南
  • 台风呢
  • 架设moon节点
  • 字符串哈希模板
  • Markdown基本与阿法
  • isEmpty/isNotEmpty/isNotBlank/isBlank-isAnyEmpty/isNoneEmpty/isAnyBlank/isNoneBlank
  • 牛客周赛 Round 110 E,F题解
  • 安装 elasticsearch-9.1.4 - 集群 和 kibana-9.1.4
  • 实测对比:权威榜单之公众号排版Top 5(含效果对比与适用建议)
  • 原码补码反码
  • C#学习1