我有這樣的HTML代碼Bootstrap。如何僅爲移動屏幕添加底部邊距?
<div class="row">
<div class="col-xs-12">
<div class="titulo">
<h2 class="title-section font-switch">Algunos tecnologias que manejamos</h2>
<span>Si no vez el que necesitas pregunta, a veces no ponemos todos</span>
</div>
</div>
<div class="col-xs-12 col-sm-8 col-sm-offset-2">
<div class="row center">
<div class="col-xs-10 col-xs-offset-1 col-sm-3 col-sm-offset-0 vcenter">
<a href="#portfolioModal1" class="portfolio-link" data-toggle="modal">
<div class="caption">
<div class="caption-content">
<i class="fa fa-search-plus fa-3x"></i>
</div>
</div>
<img src="img/csharp.png" class="img-responsive" alt="">
</a>
</div>
<div class="col-xs-10 col-xs-offset-1 col-sm-3 col-sm-offset-0 vcenter">
<a href="#portfolioModal1" class="portfolio-link" data-toggle="modal">
<div class="caption">
<div class="caption-content">
<i class="fa fa-search-plus fa-3x"></i>
</div>
</div>
<img src="img/java.jpg" class="img-responsive" alt="">
</a>
</div>
<div class="col-xs-10 col-xs-offset-1 col-sm-3 col-sm-offset-0 vcenter">
<a href="#portfolioModal1" class="portfolio-link" data-toggle="modal">
<div class="caption">
<div class="caption-content">
<i class="fa fa-search-plus fa-3x"></i>
</div>
</div>
<img src="img/cmasmas.png" class="img-responsive" alt="">
</a>
</div>
<div class="col-xs-10 col-xs-offset-1 col-sm-3 col-sm-offset-0 vcenter">
<a href="#portfolioModal1" class="portfolio-link" data-toggle="modal">
<div class="caption">
<div class="caption-content">
<i class="fa fa-search-plus fa-3x"></i>
</div>
</div>
<img src="img/androidstudio.png" class="img-responsive" alt="">
</a>
</div>
</div>
</div>
</div>
此顯示爲它:
但是當屏幕尺寸改變爲移動屏幕上的視圖是:
I知道我可以添加它與媒體查詢,但我相信,如果我使用引導,我必須使用不太可能的媒體查詢。
如何才能爲移動屏幕添加保證金?
引導的[媒體查詢(https://scotch.io/tutorials/default-sizes-for -twitter-白手起家媒體查詢)。該教程通過bootstrap自己的斷點。沒有理由你不能添加一個媒體查詢到你自己的CSS。 – Brian