I have a text with textContent "Design", that was transformed with css to be rotated 90 degree around the center (100,100), so it appears vertically. It rotate the entire coordinate system around the center, I want the element (ie “Design”) alone should rotate
Original position:
Result:
Expected :
SVG:
<svg>
<text x="70" y="30" width="64" height="16" fill="black" transform="rotate(90,100,100)">Design</text>
</svg>
What is the problem ? why text element x position changed ? how could i rotate the text in fixed x-position ?
i want to rotate a text in fixed x-position ?
Thanks,
Siva