我正在使用固定位置的 Bootstrap 导航栏。
<nav class="navbar navbar-light fixed-top background-00" style="border-bottom: 1px solid rgb(247, 247, 247);height: 65px;"></nav>
它在响应模式下工作正常。
现在,当我在 chrome & scroll 中启用移动 View 时,导航栏会隐藏一半。
如何在移动设备上也保持固定?
最佳答案
你把这一行放在<head>
中了吗?你的 html?
<meta name="viewport" content="width=device-width, initial-scale=1.0">
关于css - Bootstrap 导航栏在滚动时在移动设备上隐藏了一半,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56826886/