Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/selenium/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 引导删除缩略图行的垂直空间';s网格_Html_Css_Twitter Bootstrap - Fatal编程技术网

Html 引导删除缩略图行的垂直空间';s网格

Html 引导删除缩略图行的垂直空间';s网格,html,css,twitter-bootstrap,Html,Css,Twitter Bootstrap,我试图删除缩略图网格行之间的垂直空间,就像我对水平网格所做的那样,但没有成功 .gutter-0.row { margin-right: 0; margin-left: 0; /* not working */ margin-top: 0; margin-bottom: 0; } .gutter-0 > [class^="col-"], .gutter-0 > [class^=" col-"] { padding-right: 0;

我试图删除缩略图网格行之间的垂直空间,就像我对水平网格所做的那样,但没有成功

.gutter-0.row {
    margin-right: 0;
    margin-left: 0;
    /* not working */
    margin-top: 0; 
    margin-bottom: 0;
}
.gutter-0 > [class^="col-"], .gutter-0 > [class^=" col-"] {
    padding-right: 0;
    padding-left: 0;
    /* not working */
    padding-top: 0;
    padding-bottom: 0;
}
HTML


我怎么办?
谢谢

在“缩略图”类中有一个空白底部

只需将其添加到css中即可删除:

.thumbnail {
  margin-bottom: 0;
}

在“缩略图”类上有一个空白底部

只需将其添加到css中即可删除:

.thumbnail {
  margin-bottom: 0;
}

。缩略图的底部边距为20px。重置它或使用下面的样式

.thumbnail{
  display: table-cell;
}

。缩略图的底部边距为20px。重置它或使用下面的样式

.thumbnail{
  display: table-cell;
}

完美!非常感谢。完美的非常感谢。您的解决方案也可以。谢谢,所以你的解决方案还可以。谢谢