<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
* {
margin: 0;
padding: 0;
}
body {
background-color: #f5f5f5;
}
.box {
width: 298px;
height: 415px;
background-color: #fdfdfc;
margin: 100PX auto;
}
.box img {
width: 100%;
}
.box p {
height: 70px;
font-size: 14px;
padding: 0 28px;
margin-top: 30px;
}
.review {
font: 12px;
color: #b0b0b0;
margin-top: 20px;
padding: 0 28px;
}
.name {
font-weight: 400;
display: inline-block;
padding: 0 28px;
margin-top: 15px;
}
.price {
border-left: 1px solid black;
padding-left: 10px;
color: #ff6700;
}
a {
text-decoration: none;
color: #333;
}
a:hover {
color: #ff6700;
}
</style>
</head>
<body>
<div class="box">
<img src="images/pic1.png">
<p>这个扩展坞非常好用,买了3个了!</p>
<div class="review">
来自于 117384232 的评价
</div>
<h4 class="name">
<a href="#">联想2024最新扩展坞...</a>
</h4>
<span class="price">
99.9元
</span>
</div>
</body>
</html>