I am facing an issue where I am unable to change the x and y variables of Svg text tags using CSS. This should work as it does with Svg and . However, I am only able to make changes if I directly add the x and y positions in the HTML code. Html:
<svg id="main">
<g id="g2">
<circle id="c2" class="resize"/>
<rect id="r2" class="resize"/>
<text id="t2" class="resize">texthing</text>
</g>
CSS
#t2{
x:250px;
y:150px;
}