<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>第二次作业1</title>
<style>
.b{
display: inline-block;
background-color: black;
color: white;
text-align: center;
border-radius: 50px;
box-shadow: 10px 10px 10px gray;
}
div{
display: inline-block;
}
.a:hover{
background-color: red;
/* color: white; */
text-shadow: 10px 10px 10px white;
}
</style>
</head>
<body>
<div class="b">
<div><span> </span></div>
<div><span class="a">游戏1</span></div>
<div><span class="a">游戏2</span></div>
<div><span class="a">游戏3</span></div>
<div><span class="a">游戏4</span></div>
<div><span class="a">游戏5</span></div>
<div><span class="a">游戏6</span></div>
<div><span class="a">游戏8</span></div>
<div><span class="a">游戏9</span></div>
<div><span> </span></div>
</div>
</body>
</html>
第二次作业
最新推荐文章于 2024-09-09 09:35:48 发布