<!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;
}
.goods{
width: 234px;
height: 300px;
background-color: #fff;
margin: 0 auto;
text-align: center;
}
img{
width: 160px;
}
.phone{
height: 25px;
font-size: 14px;
text-align: center;
}
.jieshao{
text-align: center;
font-size: 12px;
color: #ccc;
}
.price{
text-align: center;
font-size: 14px;
color: #ffa500;
}
</style>
</head>
<body>
<div class="goods">
<img src="./Screenshots/小米13Ultra.jpg" alt="">
<p class="phone">小米13Ultra</p>
<p class="jieshao">专业徕卡影像</p>
<p class="price">5999元</p>
</div>
</body>
</html>
案例运行结果