Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/cmake/2.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
Twitter bootstrap 3 导入jumbotron的bg映像-引导3_Twitter Bootstrap 3 - Fatal编程技术网

Twitter bootstrap 3 导入jumbotron的bg映像-引导3

Twitter bootstrap 3 导入jumbotron的bg映像-引导3,twitter-bootstrap-3,Twitter Bootstrap 3,我正在尝试为我的jumbotron导入背景图像。这是我的密码 但是,当我通过css导入该图像时,它无法显示。有什么想法吗 谢谢 Theo.您可能需要检查CSS中Jumbotron类的图像路径 <header class="jumbotron"> <!-- Main component for a primary marketing message or call to action --> <div cla

我正在尝试为我的jumbotron导入背景图像。这是我的密码

但是,当我通过css导入该图像时,它无法显示。有什么想法吗

谢谢


Theo.

您可能需要检查CSS中Jumbotron类的图像路径

       <header class="jumbotron">

          <!-- Main component for a primary marketing message or call to action -->

          <div class="container">
              <div class="row row-header">
                  <div class="col-xs-12 col-sm-8">
                      <h1>City of Larissa</h1>
                      <p style="padding:40px;"></p>
                      <p>More than 8000 years of history</p>

                  </div>
                  <div class="col-xs-12 col-sm-2">
                       <p style="padding:40px;"></p>
                       <img src="img/logo.png" class="img-responsive">
                  </div>
              </div>
          </div>
      </header>
.jumbotron {
  margin: 0px auto;
  padding: 70px 30px;
  background: url('img/alcazar1.png');
  color: floralwhite;
}