从CSS更改SVG文本的x值 [英] Change x value of SVG text from CSS

查看:200
本文介绍了从CSS更改SVG文本的x值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有必要从样式表中更改此文本的x值?

Is there anyway to change the x value of this text from my stylesheet?

<文字类="jqx-chart-axis-text" x ="7" y ="11" width ="50" height ="37" cursor ="default"> 70000

< text class="jqx-chart-axis-text" x="7" y="11" width="50" height="37" cursor="default">70000

推荐答案

您可以使用transform: translateX(5px)更改文本元素的x坐标.

You can use transform: translateX(5px) to change the x coordinate of text element.

这篇关于从CSS更改SVG文本的x值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆