答:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<style type="text/css">
#father
{
width: 300px;
background-color: aqua;
border: 1px solid red;
}
#father div
{
padding: 10px;
margin: 15px;
}
#son1
{
background-color: hotpink;
}
#son2
{
background-color: orange;
}
</style>
</head>
<body>
<div id="father">
<div id="son1">box1</div>
<div id="son2">box2</div>
</div>
</body>
</html>