Closed Haocen closed 6 years ago
Idea borrowed from Bootstrap paper theme:
#nprogress .bar { height: 4px; background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-size: 40px 40px; animation: progress-bar-stripes 2s linear infinite; } @keyframes progress-bar-stripes { from { background-position: 40px 0; } to { background-position: 0 0; } }
Idea borrowed from Bootstrap paper theme: