.media,
.media-body {
overflow: hidden;
zoom: 1;
}
.media,
.media .media {
margin-top: 15px;
}
.media:first-child {
margin-top: 0;
}
.media-object {
display: block;
}
.media-heading {
margin: 0 0 5px;
}
.media-left {
margin-right: 10px;
}
.media-right {
margin-left: 10px;
}
<div class="media">
<a class="media-left" href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >
<img class="media-object" width=100 src="http://files.jb51.net/file_images/article/201707/huochai.jpg" alt="...">
</a>
<div class="media-body">
<h4 class="media-heading">小火柴的蓝色理想</h4>
<div>好的代码像粥一样,都是用时间熬出来的</div>
</div>
</div>
<div class="media">
<a class="media-left" href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >
<img class="media-object" width=100 src="http://files.jb51.net/file_images/article/201707/huochai.jpg" alt="...">
</a>
<div class="media-body">
<h4 class="media-heading">小火柴的蓝色理想</h4>
<div>好的代码像粥一样,都是用时间熬出来的</div>
<div class="media">
<a class="pull-left" href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >
<img class="media-object" src="http://via.placeholder.com/100x100" alt="...">
</a>
<div class="media-body">
<h4 class="media-heading">我是小火柴</h4>
<div>好巧啊,我也叫小火柴</div>
<div class="media">
<a class="pull-left" href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >
<img class="media-object" width=100 src="http://files.jb51.net/file_images/article/201707/huochai.jpg" alt="...">
</a>
<div class="media-body">
<h4 class="media-heading">小火柴的蓝色理想</h4>
<div>是的</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="media">
<a class="media-left" href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >
<img class="media-object" width=100 src="http://files.jb51.net/file_images/article/201707/huochai.jpg" alt="...">
</a>
<div class="media-body">
<h4 class="media-heading">小火柴的蓝色理想</h4>
<div>蓝色理想衰落了,前端却欣欣向荣起来</div>
</div>
</div>
.media-middle {
vertical-align: middle;
}
.media-bottom {
vertical-align: bottom;
}
<div class="media">
<a class="media-left" href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >
<img class="media-object" width=30 src="http://files.jb51.net/file_images/article/201707/huochai.jpg" alt="...">
</a>
<div class="media-body">
<h4 class="media-heading">小火柴的蓝色理想</h4>
<div>蓝色理想衰落了,前端却欣欣向荣起来</div>
</div>
</div>
<div class="media">
<a class="media-left media-middle" href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >
<img class="media-object" width=30 src="http://files.jb51.net/file_images/article/201707/huochai.jpg" alt="...">
</a>
<div class="media-body">
<h4 class="media-heading">小火柴的蓝色理想</h4>
<div>蓝色理想衰落了,前端却欣欣向荣起来</div>
</div>
</div>
<div class="media">
<a class="media-left media-bottom" href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >
<img class="media-object" width=30 src="http://files.jb51.net/file_images/article/201707/huochai.jpg" alt="...">
</a>
<div class="media-body">
<h4 class="media-heading">小火柴的蓝色理想</h4>
<div>蓝色理想衰落了,前端却欣欣向荣起来</div>
</div>
</div>
.media-list {
padding-left: 0;
list-style: none;
}
<ul class="media-list">
<li class="media">
<a class="media-left" href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >
<img class="media-object" width=30 src="http://files.jb51.net/file_images/article/201707/huochai.jpg" alt="...">
</a>
<div class="media-body">
<h4 class="media-heading">小火柴的蓝色理想</h4>
<div>蓝色理想衰落了,前端却欣欣向荣起来</div>
</div>
</li>
<li class="media">
<a class="media-left" href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >
<img class="media-object" width=30 src="http://files.jb51.net/file_images/article/201707/huochai.jpg" alt="...">
</a>
<div class="media-body">
<h4 class="media-heading">小火柴的蓝色理想</h4>
<div>好的代码像粥一样,都是用时间熬出来的</div>
</div>
</li>
</ul>
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有