当前位置:网站首页>Taobao focus map layout practice
Taobao focus map layout practice
2022-07-06 02:42:00 【Ruoshui CJJ】
<!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> Taobao focus map </title>
<style>
* {
padding: 0%;
}
.tb-promo {
position: relative;
width: 564px;
height: 315px;
margin: 100px auto;
}
.tb-promo img {
width: 100%;
border-radius: 12px;
}
li {
list-style: none;
}
a {
position: absolute;
width: 20px;
height: 30px;
background: rgba(0, 0, 0, .3);
text-align: center;
line-height: 30px;
/* Added absolute positioning a Will become a block element , You can set the width and height directly */
text-decoration: none;
color: #fff;
}
.prev {
bottom: 0;
top: 0;
left: 0;
margin: auto 0;
border-top-right-radius: 15px;
border-bottom-right-radius: 15px;
}
.next {
bottom: 0;
top: 0;
right: 0;
margin: auto 0;
border-top-left-radius: 15px;
border-bottom-left-radius: 15px;
}
.promo-nav {
position: absolute;
bottom: 15px;
left: 0;
right: 0;
margin: 0 auto;
width: 70px;
height: 13px;
background: rgba(0, 0, 0, .3);
border-radius: 6px;
}
.promo-nav li {
float: left;
width: 8px;
height: 8px;
border-radius: 50%;
background-color: skyblue;
margin: 3px 3px;
}
.promo-nav .selected {
/* Cover .promo-nav li Pay attention to the weight of the color in , Insufficient weight , Can't cover */
background-color: orange;
}
</style>
</head>
<body>
<div class="tb-promo">
<img src="img/focus.jpg" alt="">
<!-- Left arrow -->
<a href="#" class="prev"><</a>
<!-- Right arrow -->
<a href="#" class="next">></a>
<!-- Little dots -->
<ul class="promo-nav">
<li class="selected"></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
</body>
</html>
边栏推荐
- MySQL (IV) - transactions
- Briefly describe the implementation principle of redis cluster
- Pat 1046 shortest distance (20 points) simulation
- 数据准备工作
- Looking at the trend of sequence modeling of recommended systems in 2022 from the top paper
- Redis cluster deployment based on redis5
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 20
- 2345 file shredding, powerful file deletion tool, unbound pure extract version
- Number conclusion LC skimming review - 1
- The third level of C language punch in
猜你喜欢
"Hands on learning in depth" Chapter 2 - preparatory knowledge_ 2.5 automatic differentiation_ Learning thinking and exercise answers
Introduction to robotframework (I) brief introduction and use
【MySQL 15】Could not increase number of max_ open_ files to more than 10000 (request: 65535)
Shell script updates stored procedure to database
Zero foundation self-study STM32 - Review 2 - encapsulating GPIO registers with structures
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 14
Solution: attributeerror: 'STR' object has no attribute 'decode‘
纯Qt版中国象棋:实现双人对战、人机对战及网络对战
QT release exe software and modify exe application icon
Looking at the trend of sequence modeling of recommended systems in 2022 from the top paper
随机推荐
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 24
力扣今日題-729. 我的日程安排錶 I
微服务注册与发现
从顶会论文看2022年推荐系统序列建模的趋势
Crawler (9) - scrape framework (1) | scrape asynchronous web crawler framework
MySQL winter vacation self-study 2022 11 (7)
2.13 simulation summary
Keyword static
Is there a case where sqlcdc monitors multiple tables and then associates them to sink to another table? All operations in MySQL
一个复制也能玩出花来
Redis cluster deployment based on redis5
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 20
GifCam v7.0 极简GIF动画录制工具中文单文件版
如何精准识别主数据?
07 单件(Singleton)模式
Template_ Find the reverse pair of permutations_ Sort based on merge
DDoS attacks - are we really at war?
【若依(ruoyi)】启用迷你导航栏
构建库函数的雏形——参照野火的手册
SQL table name is passed as a parameter