Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/37.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 为什么在第二部分(“创新你”)中有多余的空格?_Html_Css - Fatal编程技术网

Html 为什么在第二部分(“创新你”)中有多余的空格?

Html 为什么在第二部分(“创新你”)中有多余的空格?,html,css,Html,Css,我对css和html非常陌生,意识到这可能是一个愚蠢的错误 我在任何地方都看不到上边距(使用不同的引导源并从中构建),但无论我如何剖析代码,我仍然找不到问题所在 <div id="fh5co-products" data-section="products"> <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2 fh5co-sectio

我对css和html非常陌生,意识到这可能是一个愚蠢的错误

我在任何地方都看不到上边距(使用不同的引导源并从中构建),但无论我如何剖析代码,我仍然找不到问题所在

<div id="fh5co-products" data-section="products">
 <div class="container">
  <div class="row">
   <div class="col-md-8 col-md-offset-2 fh5co-section-heading text-center">
    <h2 class="fh5co-lead animate-single product-animate-1">innovating you</h2>
    <p class="fh5co-sub animate-single product-animate-2">Your buyers are constantly evolving, and it can be hard to keep up. That's where we come in. </br>By uncovering the latest trends and best-in-class technologies, we work to ensure that you provide a selling experience that exceeds your buyers' expectations.</p>

创新你

您的买家在不断发展,很难跟上。这就是我们要做的
通过揭示最新趋势和一流技术,我们致力于确保您提供超出买家预期的销售体验


请在代码中添加此css

.jumbotron {
  margin-bottom: 0;
}

因为具有子div
class=“jumbotron”
的第一个元素具有值为
30px的属性
margin bottom

在CSS中

.jumbotron {
  margin-bottom: 0; // or use margin-bottom: 0 !important if this not work
}

在jumbotron类的底部有一个30px的余量。由于您似乎要覆盖jumbotron类设置,请添加
margin-bottom:0到您的设置,它应该删除该设置。