当前位置:网站首页>【案例】定位的运用-淘宝轮播图
【案例】定位的运用-淘宝轮播图
2022-07-05 20:56:00 【发呆少女】
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style> * {
margin: 0; padding: 0; } a {
text-decoration: none; } li {
list-style: none; } .promo_bd {
position: relative; height: 315px; width: 630px; background-color: blue; margin: 100px auto; border-radius: 20px; } .promo_bd img {
height: 100%; width: 100%; border-radius: 20px; } .promo_bd .pre, .promo_bd .next {
position: absolute; width: 25px; height: 40px; top: 50%; margin-top: -20px; background-color: rgba(0, 0, 0, 0.4); color: #fff; font-size: 20px; line-height: 40px; text-align: center; } .promo_bd .pre {
left: 0; border-radius: 0 20px 20px 0; } .promo_bd .next {
right: 0; border-radius: 20px 0 0 20px; } .promo_bd .promo_nav {
position: absolute; left: 50%; margin-left: -35px; bottom: 15px; height: 14px; width: 70px; background-color: rgba(255, 255, 255, 0.3); border-radius: 7px; } .promo_bd .promo_nav ul li {
float: left; width: 8px; height: 8px; background-color: #fff; border-radius: 50%; margin: 3px; } .promo_bd .promo_nav ul .selected {
background-color: #ff5000; } </style>
</head>
<body>
<div class="promo_bd">
<img src="./ad.jpg" alt="">
<a class="pre" href="#"><</a>
<a class="next" href="#">></a>
<div class="promo_nav">
<ul>
<li class="selected"></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
</div>
</body>
</html>
边栏推荐
- 实现浏览页面时校验用户是否已经完成登录的功能
- 《SAS编程和数据挖掘商业案例》学习笔记# 19
- 产品好不好,谁说了算?Sonar提出分析的性能指标,帮助您轻松判断产品性能及表现
- AITM 2-0003 水平燃烧试验
- PHP反序列化+MD5碰撞
- Who the final say whether the product is good or not? Sonar puts forward performance indicators for analysis to help you easily judge product performance and performance
- ProSci LAG3抗体的化学性质和应用说明
- 从架构上详解技术(SLB,Redis,Mysql,Kafka,Clickhouse)的各类热点问题
- Write an interface based on flask
- Abnova cyclosporin a monoclonal antibody and its research tools
猜你喜欢
Abnova e (diii) (WNV) recombinant protein Chinese and English instructions
Abbkine BCA法 蛋白质定量试剂盒说明书
使用WebAssembly在浏览器端操作Excel
Write an interface based on flask
珍爱网微服务底层框架演进从开源组件封装到自研
Graph embedding learning notes
Abnova丨CRISPR SpCas9 多克隆抗体方案
教你自己训练的pytorch模型转caffe(一)
如何让化工企业的ERP库存账目更准确
Open source SPL eliminates tens of thousands of database intermediate tables
随机推荐
科普|英语不好对NPDP考试有影响吗 ?
当用户登录,经常会有实时的下拉框,例如,输入邮箱,将会@qq.com,@163.com,@sohu.com
Abnova DNA marker high quality control test program
线程池的使用
Material Design组件 - 使用BottomSheet展现扩展内容(二)
Monorepo management methodology and dependency security
Duchefa p1001 plant agar Chinese and English instructions
When steam education enters personalized information technology courses
2. < tag hash table, string> supplement: Sword finger offer 50 The first character DBC that appears only once
Abnova丨血液总核酸纯化试剂盒预装相关说明书
获取前一天的js(时间戳转换)
浅聊我和一些编程语言的缘分
ODPS 下一个map / reduce 准备
Abnova cyclosporin a monoclonal antibody and its research tools
Wanglaoji pharmaceutical's public welfare activity of "caring for the most lovely people under the scorching sun" was launched in Nanjing
XML建模
研學旅遊實踐教育的開展助力文旅產業發展
示波器探头对信号源阻抗的影响
《SAS编程和数据挖掘商业案例》学习笔记# 19
Duchefa细胞分裂素丨二氢玉米素 (DHZ)说明书