Html 如何使div占用第一个空空间
如何使post占用第一个空白空间,如下所示: 这是我的代码,但看起来不一样Html 如何使div占用第一个空空间,html,twitter-bootstrap,css,Html,Twitter Bootstrap,Css,如何使post占用第一个空白空间,如下所示: 这是我的代码,但看起来不一样 <div class="container"> <div class="row"> <div class="col-sm-4 col-md-4"> <div class="post"> <div class="post-img-content">
<div class="container">
<div class="row">
<div class="col-sm-4 col-md-4">
<div class="post">
<div class="post-img-content">
<img src="http://placehold.it/460x250/e67e22/ffffff&text=HTML5" class="img-responsive" />
<span class="post-title"><b>Make a Image Blur Effects With</b><br />
<b>CSS3 Blur</b></span>
</div>
<div class="content">
<div class="author">
By <b>Bhaumik</b> |
<time datetime="2014-01-20">January 20th, 2014</time>
</div>
<div>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen book.
</div>
<div>
<a href="http://www.jquery2dotnet.com/2014/01/jquery-highlight-table-row-and-column.html" class="btn btn-warning btn-sm">Read more</a>
</div>
</div>
</div>
</div>
<div class="col-sm-4 col-md-4">
<div class="post">
<div class="post-img-content">
<img src="http://placehold.it/460x250/2980b9/ffffff&text=CSS3" class="img-responsive" />
<span class="post-title"><b>Make a Image Blur Effects With</b><br />
<b>CSS3 Blur</b></span>
</div>
<div class="content">
<div class="author">
By <b>Bhaumik</b> |
<time datetime="2014-01-20">January 20th, 2014</time>
</div>
<div>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen book.
</div>
<div>
<a href="http://www.jquery2dotnet.com/2013/11/share-social-media-round-buttons.html" class="btn btn-primary btn-sm">Read more</a>
</div>
</div>
</div>
</div>
<div class="col-sm-4 col-md-4">
<div class="post">
<div class="post-img-content">
<img src="http://placehold.it/460x250/2980b9/ffffff&text=CSS3" class="img-responsive" />
<span class="post-title"><b>Make a Image Blur Effects With</b><br />
<b>CSS3 Blur</b></span>
</div>
<div class="content">
<div class="author">
By <b>Bhaumik</b> |
<time datetime="2014-01-20">January 20th, 2014</time>
</div>
<div>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen book.
</div>
<div>
<a href="http://www.jquery2dotnet.com/2013/11/share-social-media-round-buttons.html" class="btn btn-primary btn-sm">Read more</a>
</div>
</div>
</div>
</div>
<div class="col-sm-4 col-md-4">
<div class="post">
<div class="post-img-content">
<img src="http://placehold.it/460x250/2980b9/ffffff&text=CSS3" class="img-responsive" />
<span class="post-title"><b>Make a Image Blur Effects With</b><br />
<b>CSS3 Blur</b></span>
</div>
<div class="content">
<div class="author">
By <b>Bhaumik</b> |
<time datetime="2014-01-20">January 20th, 2014</time>
</div>
<div>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen book.
</div>
<div>
<a href="http://www.jquery2dotnet.com/2013/11/share-social-media-round-buttons.html" class="btn btn-primary btn-sm">Read more</a>
</div>
</div>
</div>
</div>
<div class="col-sm-4 col-md-4">
<div class="post">
<div class="post-img-content">
<img src="http://placehold.it/460x250/2980b9/ffffff&text=CSS3" class="img-responsive" />
<span class="post-title"><b>Make a Image Blur Effects With</b><br />
<b>CSS3 Blur</b></span>
</div>
<div class="content">
<div class="author">
By <b>Bhaumik</b> |
<time datetime="2014-01-20">January 20th, 2014</time>
</div>
<div>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen book.
</div>
<div>
<a href="http://www.jquery2dotnet.com/2013/11/share-social-media-round-buttons.html" class="btn btn-primary btn-sm">Read more</a>
</div>
</div>
</div>
</div>
<div class="col-sm-4 col-md-4">
<div class="post">
<div class="post-img-content">
<img src="http://placehold.it/460x250/2980b9/ffffff&text=CSS3" class="img-responsive" />
<span class="post-title"><b>Make a Image Blur Effects With</b><br />
<b>CSS3 Blur</b></span>
</div>
<div class="content">
<div class="author">
By <b>Bhaumik</b> |
<time datetime="2014-01-20">January 20th, 2014</time>
</div>
<div>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen book.
</div>
<div>
<a href="http://www.jquery2dotnet.com/2013/11/share-social-media-round-buttons.html" class="btn btn-primary btn-sm">Read more</a>
</div>
</div>
</div>
</div>
<div class="col-sm-4 col-md-4">
<div class="post">
<div class="post-img-content">
<img src="http://placehold.it/460x250/47A447/ffffff&text=jQuery" class="img-responsive" />
<span class="post-title"><b>Make a Image Blur Effects With</b><br />
<b>CSS3 Blur</b></span>
</div>
<div class="content">
<div class="author">
By <b>Bhaumik</b> |
<time datetime="2014-01-20">January 20th, 2014</time>
</div>
<div>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen book.
</div>
<div>
<a href="http://www.jquery2dotnet.com/2013/07/cool-social-sharing-button-using-css3.html" class="btn btn-success btn-sm">Read more</a>
</div>
</div>
</div>
</div>
</div>
</div>
使用
制作图像模糊效果
CSS3模糊
Bhumik|
2014年1月20日
Lorem Ipsum只是印刷和排版行业的虚拟文本。洛勒姆
Ipsum自16世纪以来一直是行业标准的虚拟文本,当时
这位不知名的印刷工拿起一个铅字厨房,把它拼凑成一本铅字样本书。
使用
制作图像模糊效果
CSS3模糊
Bhumik|
2014年1月20日
Lorem Ipsum只是印刷和排版行业的虚拟文本。洛勒姆
Ipsum自16世纪以来一直是行业标准的虚拟文本,当时
这位不知名的印刷工拿起一个铅字厨房,把它拼凑成一本铅字样本书。
使用
制作图像模糊效果
CSS3模糊
Bhumik|
2014年1月20日
Lorem Ipsum只是印刷和排版行业的虚拟文本。洛勒姆
Ipsum自16世纪以来一直是行业标准的虚拟文本,当时
这位不知名的印刷工拿起一个铅字厨房,把它拼凑成一本铅字样本书。
使用
制作图像模糊效果
CSS3模糊
Bhumik|
2014年1月20日
Lorem Ipsum只是印刷和排版行业的虚拟文本。洛勒姆
Ipsum自16世纪以来一直是行业标准的虚拟文本,当时
这位不知名的印刷工拿起一个铅字厨房,把它拼凑成一本铅字样本书。
使用
制作图像模糊效果
CSS3模糊
Bhumik|
2014年1月20日
Lorem Ipsum只是印刷和排版行业的虚拟文本。洛勒姆
Ipsum自16世纪以来一直是行业标准的虚拟文本,当时
这位不知名的印刷工拿起一个铅字厨房,把它拼凑成一本铅字样本书。
使用
制作图像模糊效果
CSS3模糊
Bhumik|
2014年1月20日
Lorem Ipsum只是印刷和排版行业的虚拟文本。洛勒姆
Ipsum自16世纪以来一直是行业标准的虚拟文本,当时
这位不知名的印刷工拿起一个铅字厨房,把它拼凑成一本铅字样本书。
使用
制作图像模糊效果
CSS3模糊
Bhumik|
2014年1月20日
Lorem Ipsum只是印刷和排版行业的虚拟文本。洛勒姆
Ipsum自16世纪以来一直是行业标准的虚拟文本,当时
这位不知名的印刷工拿起一个铅字厨房,把它拼凑成一本铅字样本书。
.row-to-col{
display:table;
}
.col-to-row{
float: none;
display: table-cell;
vertical-align: top;
}
.top-buffer{
margin-top: 20px;
}
<div class="container">
<div class="row row-to-col">
<div class="col-sm-4 col-md-4 col-to-row">
<div class="col-sm-12 col-md-12">
<div class="post">
<div class="post-img-content">
<img src="http://placehold.it/460x250/e67e22/ffffff&text=HTML5" class="img-responsive">
<span class="post-title"><b>Make a Image Blur Effects With</b><br>
<b>CSS3 Blur</b></span>
</div>
<div class="content">
<div class="author">
By <b>Bhaumik</b> |
<time datetime="2014-01-20">January 20th, 2014</time>
</div>
<div>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen book.
</div>
<div>
<a href="http://www.jquery2dotnet.com/2014/01/jquery-highlight-table-row-and-column.html" class="btn btn-warning btn-sm">Read more</a>
</div>
</div>
</div>
</div>
<div class="col-sm-12 col-md-12 top-buffer">
<div class="post">
<div class="post-img-content">
<img src="http://placehold.it/460x250/2980b9/ffffff&text=CSS3" class="img-responsive">
<span class="post-title"><b>Make a Image Blur Effects With</b><br>
<b>CSS3 Blur</b></span>
</div>
<div class="content">
<div class="author">
By <b>Bhaumik</b> |
<time datetime="2014-01-20">January 20th, 2014</time>
</div>
<div>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen book.
</div>
<div>
<a href="http://www.jquery2dotnet.com/2013/11/share-social-media-round-buttons.html" class="btn btn-primary btn-sm">Read more</a>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-4 col-md-4 col-to-row">
<div class="col-sm-12 col-md-12">
<div class="post">
<div class="post-img-content">
<img src="http://placehold.it/460x250/2980b9/ffffff&text=CSS3" class="img-responsive">
<span class="post-title"><b>Make a Image Blur Effects With</b><br>
<b>CSS3 Blur</b></span>
</div>
<div class="content">
<div class="author">
By <b>Bhaumik</b> |
<time datetime="2014-01-20">January 20th, 2014</time>
</div>
<div>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen book.
</div>
<div>
<a href="http://www.jquery2dotnet.com/2013/11/share-social-media-round-buttons.html" class="btn btn-primary btn-sm">Read more</a>
</div>
</div>
</div>
</div>
<div class="col-sm-12 col-md-12 top-buffer">
<div class="post">
<div class="post-img-content">
<img src="http://placehold.it/460x250/2980b9/ffffff&text=CSS3" class="img-responsive">
<span class="post-title"><b>Make a Image Blur Effects With</b><br>
<b>CSS3 Blur</b></span>
</div>
<div class="content">
<div class="author">
By <b>Bhaumik</b> |
<time datetime="2014-01-20">January 20th, 2014</time>
</div>
<div>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen book.
</div>
<div>
<a href="http://www.jquery2dotnet.com/2013/11/share-social-media-round-buttons.html" class="btn btn-primary btn-sm">Read more</a>
</div>
</div>
</div>
</div>
<div class="col-sm-12 col-md-12 top-buffer">
<div class="post">
<div class="post-img-content">
<img src="http://placehold.it/460x250/2980b9/ffffff&text=CSS3" class="img-responsive">
<span class="post-title"><b>Make a Image Blur Effects With</b><br>
<b>CSS3 Blur</b></span>
</div>
<div class="content">
<div class="author">
By <b>Bhaumik</b> |
<time datetime="2014-01-20">January 20th, 2014</time>
</div>
<div>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen book.
</div>
<div>
<a href="http://www.jquery2dotnet.com/2013/11/share-social-media-round-buttons.html" class="btn btn-primary btn-sm">Read more</a>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-4 col-md-4 col-to-row">
<div class="col-sm-12 col-md-12">
<div class="post">
<div class="post-img-content">
<img src="http://placehold.it/460x250/2980b9/ffffff&text=CSS3" class="img-responsive">
<span class="post-title"><b>Make a Image Blur Effects With</b><br>
<b>CSS3 Blur</b></span>
</div>
<div class="content">
<div class="author">
By <b>Bhaumik</b> |
<time datetime="2014-01-20">January 20th, 2014</time>
</div>
<div>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen book.
</div>
<div>
<a href="http://www.jquery2dotnet.com/2013/11/share-social-media-round-buttons.html" class="btn btn-primary btn-sm">Read more</a>
</div>
</div>
</div>
</div>
<div class="col-sm-12 col-md-12 top-buffer">
<div class="post">
<div class="post-img-content">
<img src="http://placehold.it/460x250/47A447/ffffff&text=jQuery" class="img-responsive">
<span class="post-title"><b>Make a Image Blur Effects With</b><br>
<b>CSS3 Blur</b></span>
</div>
<div class="content">
<div class="author">
By <b>Bhaumik</b> |
<time datetime="2014-01-20">January 20th, 2014</time>
</div>
<div>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen book.
</div>
<div>
<a href="http://www.jquery2dotnet.com/2013/07/cool-social-sharing-button-using-css3.html" class="btn btn-success btn-sm">Read more</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>