Too much for a loading bar? (codepen.io)
7 years ago from Maxime Viktorovich, Web developer
7 years ago from Maxime Viktorovich, Web developer
The compiled HTML plus the compiled CSS is: 79kb. For a loading bar. Yes, it's way too much.
I looked at the compiled CSS and was shocked, but hold on a moment. Not to defend it, but it’s only 8 KB gzipped. For example, if you were to use it outside of CodePen and it were not inlined in the document head, it would not actually be as large as 79 KB.
I agree that it is way over the top for a loading animation. Hopefully you’d never need one this slow and heavy (or at all!). I don’t think I could ever justify even 8 KB for a loading animation.
Yeah you have to be careful with those CSS pre-processors:
58 lines of SCSS become 4223 lines of CSS in this case!
Wouldn't have even known it was a loading bar though.
If your loading bar needs a loading indicator, I think it's safe to say it's overkill
As with any design element, it depends on the context.
If you're going to make me wait for a page to load then it better be awesome like this.
Unfortunately, yes, too much!
Since I'm 'western' and read from left to right, the loading bar going the opposite way wasn't really telling me 'we are on our way to being ready'. As in, it doesn't show loading, nor progress.
tough for me to recognize that it is in face a loading bar...maybe contextualize it with the word loading?
Yes but I think it looks kind of neat and I can tell it was a creative venture.
Designer News
Where the design community meets.
Designer News is a large, global community of people working or interested in design and technology.
Have feedback?
Login to Comment
You'll need to log in before you can leave a comment.
LoginRegister Today
New accounts can leave comments immediately, and gain full permissions after one week.
Register now