I have a pair of SVG icons that I am working with.
Recent Update:
One question that I have is whether it is possible to create both icons using the same HTML markup? For instance, can I use something like:
<g>
<circle ... />
<path ... />
</g>
?
My main constraint is that I can only work with classes. This means that I want to be able to change their styles using CSS and therefore require the same markup for both icons.
I also need to remove the cx="9" cy="9"
from both icons. These attributes are part of the <rect />
element and should be positioned along the edge of the rectangle. Adjusting the cx
and cy
values causes distortions in the icon. How can I achieve this without breaking the icons? Any assistance would be appreciated. Thank you.