<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
body{
padding: 0;
margin: 0;
}
.items{
width: 1250px;
height: 320px;
padding-left: 20px;
margin: 100px auto;
}
.item{
width: 230px ;
height: 300px;
text-align: center;
margin-right: 20px;
float: left;
position: relative;
top: 0;
overflow: hidden;
}
.pic{
margin-top: 30px;
}
.dics{
position: absolute;
bottom: -100px;
width: 100%;
height: 100px;
background-color: #ff6700;
transition: all 2s;
}
.item:hover .dics{
bottom: 0px;
}
</style>
</head>
<body>
<div class="items">
<div class="item">
<div class="pic">
<img src="images/1.jpg" />
</div>
<div class="dics"
小米官网商品列表过渡案例
最新推荐文章于 2021-05-09 00:19:12 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)