61,112
社区成员
发帖
与我相关
我的任务
分享
<style>
.panel{
height:120px;
border: 1px #f4f4f4 solid;
width: 100%;
position: relative;
}
.panel .txt{
position: relative;
height:100%;
}
.panel .img{
position: absolute;
bottom: 0px;
}
.panel .img img{
width: 100px;
height: 100px;
}
</style>
<div class="panel">
<div class="img">
<img src="Koala.jpg">
</div>
<div class="txt">
<p>描述字段</p>
</div>
</div>