Expenses chart component using Angular

Solution retrospective
Hello, I have some difficulties to make svg responsive in my projects. Do you have some tips ?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @perfStack
Hi, This csstricks article might be helpful :- https://css-tricks.com/scale-svg/
My solution in which i used the viewbox trick :- https://storied-kitten-ffc04e.netlify.app/
Relavent file where i implemented viewbox :- https://github.com/perfStack/Interactive_comments/blob/main/src/lib/comments/cards/card/counter/Incrementer.svelte
Hope it helps.
Marked as helpful
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord