方案1 transform: scale(x,y) 如果写一个值就是xy同步设置 方案2 <text id="tooltipInfo" x="2" y="8" style="font-size:9px;"> </text>