久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<i id='AzyJ5'><tr id='AzyJ5'><dt id='AzyJ5'><q id='AzyJ5'><span id='AzyJ5'><b id='AzyJ5'><form id='AzyJ5'><ins id='AzyJ5'></ins><ul id='AzyJ5'></ul><sub id='AzyJ5'></sub></form><legend id='AzyJ5'></legend><bdo id='AzyJ5'><pre id='AzyJ5'><center id='AzyJ5'></center></pre></bdo></b><th id='AzyJ5'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='AzyJ5'><tfoot id='AzyJ5'></tfoot><dl id='AzyJ5'><fieldset id='AzyJ5'></fieldset></dl></div>
    1. <tfoot id='AzyJ5'></tfoot>

        <bdo id='AzyJ5'></bdo><ul id='AzyJ5'></ul>

      <small id='AzyJ5'></small><noframes id='AzyJ5'>

    2. <legend id='AzyJ5'><style id='AzyJ5'><dir id='AzyJ5'><q id='AzyJ5'></q></dir></style></legend>

        Bootstrap 4 導(dǎo)航欄固定在內(nèi)容上方

        Bootstrap 4 Nav Bar fixed-top over content(Bootstrap 4 導(dǎo)航欄固定在內(nèi)容上方)
      1. <i id='7xUWF'><tr id='7xUWF'><dt id='7xUWF'><q id='7xUWF'><span id='7xUWF'><b id='7xUWF'><form id='7xUWF'><ins id='7xUWF'></ins><ul id='7xUWF'></ul><sub id='7xUWF'></sub></form><legend id='7xUWF'></legend><bdo id='7xUWF'><pre id='7xUWF'><center id='7xUWF'></center></pre></bdo></b><th id='7xUWF'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='7xUWF'><tfoot id='7xUWF'></tfoot><dl id='7xUWF'><fieldset id='7xUWF'></fieldset></dl></div>

        • <tfoot id='7xUWF'></tfoot>
              <bdo id='7xUWF'></bdo><ul id='7xUWF'></ul>

              <small id='7xUWF'></small><noframes id='7xUWF'>

                <tbody id='7xUWF'></tbody>
                <legend id='7xUWF'><style id='7xUWF'><dir id='7xUWF'><q id='7xUWF'></q></dir></style></legend>
                  本文介紹了Bootstrap 4 導(dǎo)航欄固定在內(nèi)容上方的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我正在使用 bootstrap4 固定頂部導(dǎo)航欄,它在普通瀏覽器中運行良好.

                  I'm using bootstrap4 fixed-top navbar which works fine in normal browser.

                  但是,當(dāng)我在移動設(shè)備(使用 chrome dev 選項的 Galaxy S5)上測試時,內(nèi)容從導(dǎo)航欄后面開始,我在我的 css 中嘗試了一些填充,但我似乎無法讓它正常工作.

                  However, when I test on a mobile device (Galaxy S5 using chrome dev options) the content starts behind the nav bar, I've tried some padding in my css but I can't seem to get it to work correctly.

                  下面是 HTML 和 CSS 的 jsfiddle,頁面內(nèi)容從固定頂部導(dǎo)航欄后面開始.

                  Below is a jsfiddle of the HTML and CSS, the page content starts behind the fixed-top nav bar.

                  https://jsfiddle.net/8kefh4u7/6/

                  這里也是我的 CSS

                  html,
                  body {
                    height: 100%;
                  }
                  
                  body {
                    display: -ms-flexbox;
                    display: -webkit-box;
                    display: flex;
                    -ms-flex-align: center;
                    -ms-flex-pack: center;
                    -webkit-box-align: center;
                    align-items: center;
                    -webkit-box-pack: center;
                    justify-content: center;
                    padding-top: 40px;
                    padding-bottom: 40px;
                    background-color: #f5f5f5;
                  }
                  
                  .epg-container {
                    position: relative;
                    width: 100%;
                    max-width: 1500px;
                    overflow: hidden;
                    display: block;
                    margin: 0 auto;
                    background-color: black;
                  }
                  .epg-container ul.listings-grid {
                    list-style-type: none;
                    padding: 0;
                    margin: 0;
                    white-space: nowrap;
                    background-color: #262626;
                  }
                  .epg-container ul.listings-grid li {
                    font-size: 20px;
                    text-align: left;
                  }
                  .epg-container ul.listings-grid .listings-channel-row {
                    height: auto;
                    padding: 0;
                    border-bottom: solid;
                    border-bottom-width: 6px;
                    border-color: #262626;
                    overflow: hidden;
                  }
                  .epg-container ul.listings-grid .listings-channel {
                    /*  color not necesary  */
                    color: white;
                    width: 20%;
                    height: 83px;
                    float: left;
                    text-align: center;
                  }
                  .epg-container ul.listings-grid .listings-channel img {
                    max-width: 100%;
                    max-height: 100%;
                  }
                  .epg-container ul.listings-grid .listings-program {
                    color: #989898;
                    border-right: solid;
                    border-right-width: 3px;
                    border-left: solid;
                    border-left-width: 3px;
                    border-color: #262626;
                    float: left;
                    padding: 10px 10px;
                    background-color: black;
                  }
                  .epg-container ul.listings-grid .listings-details-now-info {
                    color: #fa9609;
                    font-size: 12px;
                  }
                  .epg-container ul.listings-grid .listings-details-next-info {
                    color: #fa9609;
                    font-size: 12px;
                  }
                  

                  讓內(nèi)容頁面始終在 NAVBAR 下開始并在移動設(shè)備上運行良好的最佳方式是什么.

                  What would be the best way to make the content page always start under the NAVBAR that would work well on mobile.

                  推薦答案

                  我修復(fù)了這個問題,所以現(xiàn)在內(nèi)容總是在固定的導(dǎo)航欄之后開始.

                  I fixed this so now the content will always start after the fixed nav bar.

                  我將以下內(nèi)容添加到正文 css

                  I added the below to the body css

                  min-height: 51.5rem;
                  padding-top: 2.5rem;
                  

                  感謝@ZimSystem 為我指明了正確的方向.

                  Thank you @ZimSystem for pointing me in the right direction.

                  這篇關(guān)于Bootstrap 4 導(dǎo)航欄固定在內(nèi)容上方的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  enable SOAP on PHP(在 PHP 上啟用 SOAP)
                  Get received XML from PHP SOAP Server(從 PHP SOAP 服務(wù)器獲取接收到的 XML)
                  not a valid AllXsd value(不是有效的 AllXsd 值)
                  PHP SoapClient: SoapFault exception Could not connect to host(PHP SoapClient:SoapFault 異常無法連接到主機)
                  Implementation of P_SHA1 algorithm in PHP(PHP中P_SHA1算法的實現(xiàn))
                  Sending a byte array from PHP to WCF(將字節(jié)數(shù)組從 PHP 發(fā)送到 WCF)

                  <small id='s2jqS'></small><noframes id='s2jqS'>

                  <legend id='s2jqS'><style id='s2jqS'><dir id='s2jqS'><q id='s2jqS'></q></dir></style></legend>

                  • <bdo id='s2jqS'></bdo><ul id='s2jqS'></ul>
                    <tfoot id='s2jqS'></tfoot>

                          <tbody id='s2jqS'></tbody>

                          <i id='s2jqS'><tr id='s2jqS'><dt id='s2jqS'><q id='s2jqS'><span id='s2jqS'><b id='s2jqS'><form id='s2jqS'><ins id='s2jqS'></ins><ul id='s2jqS'></ul><sub id='s2jqS'></sub></form><legend id='s2jqS'></legend><bdo id='s2jqS'><pre id='s2jqS'><center id='s2jqS'></center></pre></bdo></b><th id='s2jqS'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='s2jqS'><tfoot id='s2jqS'></tfoot><dl id='s2jqS'><fieldset id='s2jqS'></fieldset></dl></div>

                          1. 主站蜘蛛池模板: 精品国产一区二区三区久久久蜜月 | 中文日韩在线视频 | 日韩av高清在线 | 免费毛片网站 | 国产成人精品在线 | 第四色狠狠 | 欧美精品成人一区二区三区四区 | 在线视频三区 | 超碰在线97国产 | 三级免费av| 国产精品国产a级 | 国产乱一区二区三区视频 | 日韩精品一区二区三区视频播放 | 99精品在线观看 | 亚洲国产一区二区三区四区 | 精品一区二区久久久久久久网站 | 欧美一区二区三区在线播放 | 亚洲免费在线视频 | 欧美日韩最新 | 一区二区三区四区av | 欧美一区二区在线观看 | 91视频大全| 欧美亚洲国产成人 | 黄色大片在线播放 | 久久久久亚洲精品 | www.99热| 日韩一区在线播放 | 久久久久久国产免费视网址 | 久久99视频精品 | 成人激情视频网 | 色综合久 | 亚洲国产第一页 | 在线免费看黄 | 亚洲人一区 | 色橹橹欧美在线观看视频高清 | 欧美精品1区2区3区 免费黄篇 | 黄免费观看视频 | 在线第一页 | 亚洲在线观看视频 | 欧洲色| 黄免费观看视频 |