<!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>
body {
background-color: #f5f5f5;
}
* {
padding: 0px;
margin: 0px;
}
.box {
width: 298px;
height: 415px;
background-color: #fff;
margin: 100px auto;
}
.box>img {
width: 100%;
}
p {
height: 70px;
padding: 0px 28px;
/* padding-top: 10px; */
margin-top: 30px;
font-size: 14px;
}
.abc{
font-size: 12px;
color: gray;
margin-top: 15px;
padding: 0 28px;
}
h4 {
display: inline-block;
font-weight: 400;
}
.foot {
margin-top: 15px;
padding:0 28px;
}
</style>
</head>
<body>
<div class="box"><img src="./images/xiaomi.jpg" alt="">
<p>快递牛,整体不错蓝牙可以说秒连,红米给力</p>
<div class="abc">来自于117384232的评价</div>
<div class="foot"><h4>edmi AirDots真无线蓝... </h4>
<em>|</em>
<span>99.9元</span> </div>
</div>
</body>
</html>