Jumbotron图像没有出现

时间:2018-05-10 14:53:47

标签: bootstrap-4

我试图将图像添加到我的jumbtron,但是当我加载页面时,只显示默认背景?

HTML

        <div class="jumbotron">
          <h1>Welcome to y</h1>
          <p>We  blablabla</p>
        </div>

CSS

.jumbotron .jumbotron-fluid{
      background-image: url(‘../img/bghead.jpg’);
      background-size: cover;
      background-repeat: no-repeat;
 }

.jumbotron h1{
  font-family: 'Opens Sans' sans-serif;
      text-transform: uppercase;
 }

0 个答案:

没有答案