<!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>
.one{
position: relative;
top: 250px;
left: 500px;
border: 2px orange solid;
}
.two{
width: 710px;
height: 400px;
position: absolute;
top: 260px;
left: 510px;
opacity: 0;
background-color: darkgray;
}
.three{
position: absolute;
top: 48%;
left: 50%;
opacity: 1;
}
.three:hover{
position: absolute;
top: 48%;
left: 50%;
opacity: 0.6;
}
.two:hover{
position: absolute;
top: 260px;
left: 510px;
opacity: 0.5;
}
</style>
</head>
<body>
<div><img src="../图片/sed.jpg" class="one">
<div class="two"></div>
<div ><img src="../图片/arr.png" class="three" height="300px" width="300px"></div>
</div>
</div>
</body>
</html>
11.19号作业
最新推荐文章于 2024-08-04 16:33:59 发布