Answer the question
In order to leave comments, you need to log in
What is rect used for in SVG icons?
Hello!
I noticed that some developers use this structure for SVG icons:
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon_mail">
<use xlink:href="#mail"></use>
<rect height="100%" width="100%" style="fill: transparent;"></rect>
</svg>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question