当前位置:网站首页>【案例】定位的运用-淘宝轮播图
【案例】定位的运用-淘宝轮播图
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>

边栏推荐
- When steam education enters personalized information technology courses
- POJ 3414 pots (bfs+ clues)
- Duchefa s0188 Chinese and English instructions of spectinomycin hydrochloride pentahydrate
- 示波器探头对测量带宽的影响
- 《SAS编程和数据挖掘商业案例》学习笔记# 19
- Duchefa细胞分裂素丨二氢玉米素 (DHZ)说明书
- Abnova cyclosporin a monoclonal antibody and its research tools
- Implementation of redis unique ID generator
- ts 之 泛型
- systemd-resolved 开启 debug 日志
猜你喜欢

CADD course learning (7) -- Simulation of target and small molecule interaction (semi flexible docking autodock)

Duchefa d5124 md5a medium Chinese and English instructions

基於flask寫一個接口

2. < tag hash table, string> supplement: Sword finger offer 50 The first character DBC that appears only once

Duchefa low melting point agarose PPC Chinese and English instructions

Norgen AAV提取剂盒说明书(含特色)

Duchefa丨D5124 MD5A 培养基中英文说明书

Abnova total RNA Purification Kit for cultured cells Chinese and English instructions

Analyze the knowledge transfer and sharing spirit of maker Education

When steam education enters personalized information technology courses
随机推荐
leetcode:1139. 最大的以 1 为边界的正方形
最长摆动序列[贪心练习]
渗透创客精神文化转化的创客教育
Duchefa cytokinin dihydrozeatin (DHZ) instructions
基於flask寫一個接口
When steam education enters personalized information technology courses
Abnova 环孢素A单克隆抗体,及其研究工具
Use of form text box (II) input filtering (synthetic event)
php中explode函数存在的陷阱
基于AVFoundation实现视频录制的两种方式
MySQL fully parses json/ arrays
Duchefa MS medium contains vitamin instructions
培养机器人教育创造力的前沿科技
systemd-resolved 开启 debug 日志
Viewrootimpl and windowmanagerservice notes
phpstudy小皮的mysql点击启动后迅速闪退,已解决
2. < tag hash table, string> supplement: Sword finger offer 50 The first character DBC that appears only once
Monorepo management methodology and dependency security
Abnova丨CRISPR SpCas9 多克隆抗体方案
hdu2377Bus Pass(构建更复杂的图+spfa)