I have an arrow SVG, set up like this one:
<svg xmlns="http://www.w3.org/2000/svg" version="1.0" viewBox="0 0 100 100" class="arrow">
<g class="tail">
<circle (...)></circle>
</g>
<g class="body">
<rect (...)></rect>
</g>
<g class="head">
<polygon (...)>
</g>
</svg>
And I want to set it up so that when resizing it via CSS, regardless of its size,
- the
tail
will remain in the left hand side with the same proportions, - the
head
will stay in the right hand side, also with the same proportions, and - the
body
will stretch horizontally indefinitely.
Can I do that? How can I do that?