当前位置:网站首页>【案例】定位的运用-淘宝轮播图
【案例】定位的运用-淘宝轮播图
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>
边栏推荐
- matplotlib绘图润色(如何形成高质量的图,例如设如何置字体等)
- Abnova丨血液总核酸纯化试剂盒预装相关说明书
- CareerCup它1.8 串移包括问题
- LeetCode: Distinct Subsequences [115]
- How to make ERP inventory accounts of chemical enterprises more accurate
- CADD course learning (7) -- Simulation of target and small molecule interaction (semi flexible docking autodock)
- Is it safe to open a stock account by mobile phone? My home is relatively remote. Is there a better way to open an account?
- Monorepo管理方法论和依赖安全
- leetcode:1755. 最接近目标值的子序列和
- Popular science | does poor English affect the NPDP exam?
猜你喜欢
Duchefa丨低熔点琼脂糖 PPC中英文说明书
研學旅遊實踐教育的開展助力文旅產業發展
Abnova丨培养细胞总 RNA 纯化试剂盒中英文说明书
10000+ 代码库、3000+ 研发人员大型保险集团的研发效能提升实践
Analysis of steam education mode under the integration of five Education
Chemical properties and application instructions of prosci Lag3 antibody
Duchefa low melting point agarose PPC Chinese and English instructions
基于flask写一个接口
ProSci LAG3抗体的化学性质和应用说明
显示器要申请BS 476-7 怎么送样?跟显示屏一样吗??
随机推荐
Abbkine丨TraKine F-actin染色试剂盒(绿色荧光)方案
php中explode函数存在的陷阱
systemd-resolved 开启 debug 日志
CADD course learning (7) -- Simulation of target and small molecule interaction (semi flexible docking autodock)
EN 438-7建筑覆盖物装饰用层压板材产品—CE认证
基於flask寫一個接口
国外LEAD美国简称对照表
Material design component - use bottomsheet to show extended content (II)
Abnova CRISPR spcas9 polyclonal antibody protocol
Clear app data and get Icon
判断横竖屏的最佳实现
Binary search
Abnova丨DNA 标记高质量控制测试方案
Abbkine trakine F-actin Staining Kit (green fluorescence) scheme
How to open an account online for futures? Is it safe?
leetcode:1139. 最大的以 1 为边界的正方形
When a user logs in, there is often a real-time drop-down box. For example, entering an email will @qq com,@163. com,@sohu. com
产品好不好,谁说了算?Sonar提出分析的性能指标,帮助您轻松判断产品性能及表现
PHP deserialization +md5 collision
如何让化工企业的ERP库存账目更准确