无法从那里的网站复制确切的引导程序模板

时间:2018-07-11 20:03:49

标签: javascript jquery html html5 bootstrap-4

我正在尝试从bootstrap.com复制模板,但是模板复制的模板不完全相同。

导航从黑色变成白色,并且我无法更改颜色,并且toogle按钮也有问题

<header>
  <div class="collapse bg-inverse" id="navbar-Header">
    <div class="container">
      <div class="row">
        <div class="col-sm-8 col-md-7 py-4">
          <h4 class="text-white">About</h4>
          <p class="text-muted">Add some information about the album below, the author, or any other background context. Make it a few sentences long so folks can pick up some informative tidbits. Then, link them off to some social networking sites or contact information.</p>
        </div>
        <div class="col-sm-4 offset-md-1 py-4">
          <h4 class="text-white">Contact</h4>
          <ul class="list-unstyled">
            <li><a href="#" class="text-white">Follow on Twitter</a></li>
            <li><a href="#" class="text-white">Like on Facebook</a></li>
            <li><a href="#" class="text-white">Email me</a></li>
          </ul>
        </div>
      </div>
    </div>
  </div>
    <div id="nav">
       <nav class="navbar navbar-dark bg-dark black"></nav>  
            <div class="container d-flex justify-content-between">
              <a href="#" class="navbar-brand d-flex align-items-center">
                <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="mr-2"><path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"></path><circle cx="12" cy="13" r="4"></circle></svg>
                <strong>Album</strong>
              </a>
              <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarHeader" aria-controls="navbarHeader" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
              </button>
            </div>
        </nav> 
    </div>
</header>

2 个答案:

答案 0 :(得分:0)

您没有复制Bootstrap的CSS文件。

答案 1 :(得分:0)

确保引导程序的所有css和js库均已正确加载。请尝试这种布局。您应该知道,此布局包括与ajax不兼容的jquery slim,如果您计划使用ajax,则应首选jquery min。

CREATE VIEW MyViewName
AS
WITH required_skills as (
      SELECT DISTINCT e.empl_ID, e.job_code, j.skill_ID, j.skill_desc
     FROM emplskills e
     JOIN jobskills j
       ON e.job_code = j.job_code
)
SELECT r.empl_ID, e.emplName, r.job_code, r.skill_ID, r.skill_desc
  FROM required_skills r
       FULL OUTER JOIN emplskills e
       ON r.empl_ID = e.empl_ID
      AND r.skill_ID = e.skill_ID