<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.lunbotu{
position: relative;
border: 1px solid red;
width: 560px;
height: 320px;
}
img{
width: 560px;
height: 320px;
}
.index{
position: absolute;
bottom: 10px;
right: 10px;
}
.dot{
display: inline-block;
text-align: center;
line-height: 16px;
height: 16px;
width: 16px;
border:1px solid red;
border-radius: 50%;
background-color: gray;
}
</style>
</head>
<body>
<div class="lunbotu">
<img src="book.jpg" alt="">
<div class="index">
<div class="dot">1</div>
<div class="dot">1</div>
<div class="dot">1</div>
<div class="dot">1</div>
<div class="dot">1</div>
</div>
</div>
</body>
</html>
有路网轮播图css实战
最新推荐文章于 2024-07-19 15:50:46 发布