Correcting teacher:PHPz
Correction status:qualified
Teacher's comments:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="index.css">
<title>Document</title>
</head>
<body>
<main>
<div class="right">
<div class="img">
<img src="https://gw.alicdn.com/bao/uploaded/i2/504369715/O1CN01VDTglP2LdWUZPQ849_!!0-item_pic.jpg_500x500q90.jpg_.webp">
</div>
<div class="title">
<div class="introduce"><span>日本进口缝隙收纳架厨房置物架冰箱夹缝车可移动多层落地超窄柜</span></div>
<div class="price">
<span class="money">¥</span>
<span class="num">99</span>
<span class="play">29人已购买</span>
</div>
</div>
</div>
<div class="right">
<div class="img">
<img src="https://gw.alicdn.com/bao/uploaded/i2/504369715/O1CN01VDTglP2LdWUZPQ849_!!0-item_pic.jpg_500x500q90.jpg_.webp">
</div>
<div class="title">
<div class="introduce"><span>日本进口缝隙收纳架厨房置物架冰箱夹缝车可移动多层落地超窄柜</span></div>
<div class="price">
<span class="money">¥</span>
<span class="num">99</span>
<span class="play">29人已购买</span>
</div>
</div>
</div>
<div class="right">
<div class="img">
<img src="https://gw.alicdn.com/bao/uploaded/i2/504369715/O1CN01VDTglP2LdWUZPQ849_!!0-item_pic.jpg_500x500q90.jpg_.webp">
</div>
<div class="title">
<div class="introduce"><span>日本进口缝隙收纳架厨房置物架冰箱夹缝车可移动多层落地超窄柜</span></div>
<div class="price">
<span class="money">¥</span>
<span class="num">99</span>
<span class="play">29人已购买</span>
</div>
</div>
</div>
<div class="right">
<div class="img">
<img src="https://gw.alicdn.com/bao/uploaded/i2/504369715/O1CN01VDTglP2LdWUZPQ849_!!0-item_pic.jpg_500x500q90.jpg_.webp">
</div>
<div class="title">
<div class="introduce"><span>日本进口缝隙收纳架厨房置物架冰箱夹缝车可移动多层落地超窄柜</span></div>
<div class="price">
<span class="money">¥</span>
<span class="num">99</span>
<span class="play">29人已购买</span>
</div>
</div>
</div>
</main>
</body>
</html>
body{
margin: 0;
padding: 0;
background-color: #f2f2f2;
}
main{
margin: 0;
display: grid;
grid-template-columns: repeat(2,1fr);
padding-bottom: 0.1rem;
}
main img{
width: 100%;
border-radius: 0.3rem 0.3rem 0 0;
}
main .right{
box-sizing: border-box;
border-radius: 0.4rem;
margin: 0.4rem 0.4rem;
min-height: 2rem;
min-width: 1.1rem;
background-color: #fff;
}
main .right .title{
display:grid;
place-items:center
}
main .right .title .introduce{
height: 3.4rem;
width: 90%;
font-size: 0.8rem;
line-height: 1.5rem;
overflow: hidden;
}
main .right .title .price{
width: 90%;
font-size: 0.8rem;
padding-bottom: 1rem;
}
main .right .title .price .money{
color: coral;
font-size: smaller;
}
main .right .title .price .num{
color: coral;
font-size: larger;
}
main .right .title .price .play{
color: #ccc;
}