.nanobar { width: 100%; height: 6px; z-index: 9999; top: 0 } .bar { width: 0; height: 100%; transition: height .3s; background: #59d }