@freaky4wrld
Posted
Hey there, buddy as per your query............. what I would suggest is to use svg as an image element that is <img src="svg_path.svg">
As using svg vaguely is not recommended, also for the media queries, you can do is
<img src="svg_desktop.svg" class="some width hidden md:block/flex">
<img src="svg_mobile.svg" class="some width md:hidden">
Hope it helps..... and resolves your issue!!!
Here are some best practice regarding svg image
Keep hustling!!!
Marked as helpful
@hdif004
Posted
@freaky4wrld Thanks, i appreciate it. It's clearly better this way ๐