-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have one question about using gradient effect with your circle-progress css like below picture. #8
Comments
Circle Progress is made with SVG. Unfortunately you can't use CSS gradients on SVG elements. |
i found how make a gradients, checked on the circle-progress library and its worked! here is snippet bellow!
|
@albalirus's suggestion works indeed. See a demo on JSFiddle.
@albalirus thanks a lot for your input. |
@tigrr this is good news! Thank you for testing. |
@albalirus, I am thinking about adding gradient to the library. The complication is that most people want gradient along the arc, and that doesn't seem possible. |
Hi @tigrr I found very interested technique to make a gradient along the stroke )) |
@albalirus thank you for the suggestion and excuse me for late reply. The example you shared fragments the path into multiple small pieces. I think this approach would make it very hard (if possible) to implement animation. And even if implemented, the animation would be jerky. |
Hi @tigrr Yes, the animation will be unused in this case. This is just for example. The first our example is very nice i think. And its not hard to implement in the library. |
How can I express it?
Could you plz... Sugguest a way? ToT
The text was updated successfully, but these errors were encountered: