我想让我的jumbotron填充体和导航栏的尖端我怎么做

时间:2017-01-03 16:29:13

标签: twitter-bootstrap css3

i want my jumbotron  to fill the parent body and touch the tip of the nav barr

theres my css please please

.jumbotron {
  padding-top: 200px;
  padding-bottom: 100px;
  background-image: url("img/h1.png");
  background-size: cover;
}

1 个答案:

答案 0 :(得分:0)

很难说这个代码。将宽度:100%放在您的jumbotron上并尝试去除边距和填充。然后调整填充/边距顶部以将其定位在导航栏的顶端。