更新时间:2023-12-05 12:50:16
将正文添加到正文
body { padding: 70px 0 0 0; }
Bootstrap导航高度为50px,加上内容和nav之间的任何边距。
Bootstrap nav is 50px high, plus whatever margin you want between content and nav.
编辑:请在这里查看
Bootstrap粘贴顶部导航的问题