Hacker News new | ask | show | jobs
by codez 4513 days ago
Ah right I hadn't seen this. From this line

"A nanoscopic progress bar. Featuring realistic trickle animations to convince your users that something is happening!"

You could do the same with progre(c)ss. And do it purely with CSS. Essentially that is what I am doing with the proge(c)ss bars on the page, I am using a keyframe animation and just setting different times on it.

Something like

       @keyframes progress {
           0% {width: 0%;}
           100% {width: 100%;}
       }
Then simply assign the animation to the :after element of a current progre(c)ss and there you have it without needing js.

Thanks for the heads up on nprogess, hadn't seen it before.