Bootstrap固定式导航栏

时间:2020-05-09 22:00:49

标签: html css angular bootstrap-4

我正在建立带有Boostrap的SPA,导航栏是固定的。 当我添加内容时,除非我将元素margin-top指定为58px或使用下面的样式有帮助,但由于我在应用程序上有很多行而无法承受,否则导航栏会将其切断。

    display: flex;
    flex-wrap: wrap;
    margin-right: 5%;
    margin-left:  5%;
    margin-top: 10%;
} */

the full row divs don'nt show up

1 个答案:

答案 0 :(得分:0)

导航栏必须从容器顶部移出

implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.6'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.6'