<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<style>
* {
margin: 0;
padding: 0;
}
body {
background: #eee;
}
li {
transition: all .2s;
position: relative;
list-style: none;
padding: 34px 0 20px;
height: 246px;
text-align: center;
overflow: hidden;
}
li:hover {
-webkit-transform: translateY(-2px);
box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
}
li:hover .review-wrapper {
height: 76px;
opacity: 1;
}
a, a:hover {
text-decoration: none;
color: #333;
font-size: 14px;
font-weight: normal;
}
.list {
background: #fff;
width: 234px;
margin: 100px auto;
}
.img-box {
text-align: center;
margin-bottom: 10px;
}
.price {
color: #ff6700;
margin: 0 10px 10px;
}
.rank {
margin: 0 10px;
font-size: 12px;
color: #b0b0b0;
}
.review-wrapper {
transition: all .2s;
text-align: left;
position: absolute;
bottom: 0;
left: 0;
z-index: 3;
width: 234px;
height: 0;
font-size: 12px;
background: #ff6700;
opacity: 0;
overflow: hidden;
}
.review-wrapper a {
display: block;
padding: 8px 30px;
outline: 0;
color: #fff;
}
.author {
color: rgba(255, 255, 255, 0.6);
}
</style>
<body>
<ul>
<li>
<div>
<ahref="##"><img src="https://i1.mifile.cn/a1/T1a3DvB7hv1RXrhCrK!220x220.jpg"width="150"height="150"alt="小米极简都市双肩包"></a>
</div>
<h3><a href="##">小米极简都市双肩包</a></h3>
<p> <span>149</span>元 </p>
<p>2.5万人评价</p>
<div>
<a href="##">
<span>据说,小黄车和小米包包是绝配哦,你觉着呢客服姐姐</span>
<span> 来自于 何世林 的评价 <span></span> </span>
</a>
</div>
</li>
</ul>
</body>
</html>