作业3

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <style>
.box {
  display: inline-block;
   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>

  

原文地址:https://www.cnblogs.com/cmymm/p/9746460.html