@SonTonyDSubmitted over 2 years ago
Hello, I have some difficulties to make svg responsive in my projects. Do you have some tips ?
Hello, I have some difficulties to make svg responsive in my projects. Do you have some tips ?
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.