I need to make a circular progress bar (image below),
loading start from left bottom side up to right bottom side. Light-blue (#E8F6FD)
color is empty state and strong-blue (#1CADEB)
is progress.
I have tried some approaches, but cannot find the best one for this implementation:
- First of all I tried using a
div
element withborder-radius: 50%;
andborder-bottom-color: transparent;
, jsfiddle. In this approach I got a shape exactly like in image but the problem is how can I fill border with progress? - The second try was using canvas, and this approach is nice expect the reason that loader appears on the screen only after all
JS
loaded, I would like prevent this behavior and show loader immediately when page is loaded, jsfiddle
So my question is there any another approaches that can achive an arc loader or any suggestion for listed problems.