Twitter Bootstrap modal opening/closing causes fixed header to jump

后端 未结 14 2286
旧时难觅i
旧时难觅i 2021-01-08 01:39

I am almost done with a simple 2-page website for my registered domain names. Unfortunately I have one small issue I can\'t seem to fix: a jumpy header when a Twitter Bootst

14条回答
  •  囚心锁ツ
    2021-01-08 01:45

    In my case, it can be solved by adding comments or remove these two lines right: 0; and left: 0; in bootstrap.css file:

    .navbar-fixed-top,
    .navbar-fixed-bottom {
      position: fixed;
      /* right: 0;
      left: 0; */
      z-index: 1030;
    }
    

    Note: I use bootstrap v3.3.7

提交回复
热议问题