作业3
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<style>
.box {
display: inline-block;
width: 100px;
height: 100px;
background: pink;
color: #92feff;
}
#two,#four {
position: relative;
top: 20px;
left: 20px;
background: skyblue;
}
</style>
</head>
<body>
<div class="box" id="one">One</div>
<div class="box" id="two">TwO</div>
<div class="box" id="three">Three</div>
<div class="box" id="four">Four</div>
</body>
</html>


浙公网安备 33010602011771号