Saturday, 15 March 2014

javascript - Change center of rotation for a text using inline CSS -



javascript - Change center of rotation for a text using inline CSS -

i want create sure text attributes rotates around own lower left corner. defined such :

<text x="26" y="46.99804139845162" transform="rotate(90)">blabla</text>

i have tried do

<text x="26" y="49" style="transform-origin: 0% 0%" transform="rotate(90)">blabla</text>

but no avail seems rotate around same point.

any help welcome.

javascript html css rotation

No comments:

Post a Comment