W
W
WebforSelf2020-12-30 13:04:29
css
WebforSelf, 2020-12-30 13:04:29

How to move everything proportionally in svg?

There is an svg with a set of such figures.


Need to change

<svg viewBox="0 0 768 365" xmlns="http://www.w3.org/2000/svg">

on the
<svg viewBox="0 0 1790 978" xmlns="http://www.w3.org/2000/svg">


I change the viewBox and all the coordinates stick together in the left corner, so should I redraw each element now? Is there a way to automatically change this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xenonhammer, 2020-12-30
@xenonhammer

Such things are done under certain breakpoints. Specifically, in each breakpoint, coordinates are set for each arrow.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question