效果如上图
<!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">
<title>Document</title>
<style>
* {
padding: 0;
margin: 0;
}
body {
background-color: rgb(233, 233, 233);
}
.box {
width: 240px;
height: 330px;
margin: 100px auto;
background-color: #ffffff;
border: 1px solid rgb(224, 224, 224);
}
img {
width: 100%;
height: 160px;
}
.review {
height: 70px;
font: 14px 'Microsoft YaHei';
color: rgb(68, 67, 67);
padding: 0 20px;
margin-top: 20px;
}
.appraise {
width: 180px;
font: 14px 'Microsoft YaHei';
font-size: 10px;
color: rgb(170, 170, 170);
margin: 10px 20px;
}
.info {
font-size: 14px;
margin: 0 20px;
}
.info a {
color: rgb(51, 51, 51);
text-decoration: none;
}
.info span {
font-weight: 800;
color: chocolate;
}
.info em {
font-style: normal;
color: rgb(207, 207, 207);
margin: 0 6px 0 15px;
}
</style>
</head>
<body>
<div class="box">
<img src="image/chan.png" alt="铲平">
<p class="review">我就是这样评价的不爽的话你来写吧</p>
<div class="appraise">来自傲娇小公主</div>
<div class="info">
<a href="#">绿色无污染青菜农...</a>
<em> | </em>
<span>99.6元</span>
</div>
</div>
</body>
</html>