在角度js应用程序中,我使用的是chieffancypants loading bar
我正在使用bootstrap 3.3.5 navbar-fixed-top。我想在导航栏下方显示加载栏,默认情况下,加载栏位于页面顶部。 我试图覆盖CSS中的顶部位置,如下所示,但它不起作用。
#loading-bar .bar {
-webkit-transition: width 350ms;
-moz-transition: width 350ms;
-o-transition: width 350ms;
transition: width 350ms;
background: #29d;
position: fixed;
z-index: 2000;
top: 60;
left: 0;
width: 100%;
height: 2px;
}
答案 0 :(得分:0)
缺少最高值px
,所以:
top: 60
应为top: 60px