DEV Community

Cover image for Minimal loader with progress
Gleb Svechnikov
Gleb Svechnikov

Posted on

Minimal loader with progress

Recently I've discovered default behavior of HTML progress tag.
If you don't provide any attributes, progress acts like loader.

<progress/>
Enter fullscreen mode Exit fullscreen mode

That is how it look:

  • In Firefox Firefox
  • In Chrome Chrome
  • In Safari Safari Although it does not look&feel identical in browsers, it looks ok, even for light theme.

Image description
Such loader solution could be useful for rapid prototyping and minimal interfaces.

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay