svg 文本居中_Web开发人员阅读清单:SVG文本

svg 文本居中

While text in SVG has a number of limitations, at least in the current spec - text can’t be wrapped, and positioning it is more like arranging elements in CSS, rather than the natural “flow” of HTML text - it also has some significant advantages in particular use-cases. Understanding those use-cases, together with the associated SVG text attributes, will allow you to know where and how to employ SVG text in your web page designs.

尽管SVG中的文本有很多限制,但至少在当前规范中-文本不能被包装,而放置它的方式更像是在CSS中 排列元素 ,而不是HTML文本的自然“流动”-它也有一些限制在特定用例中具有明显的优势。 了解这些用例以及相关的SVG文本属性,将使您知道在网页设计中在何处以及如何使用SVG文本。

As always, there’s more to be added to this list (especially as the SVG2 draft is finalised and its features adopted by browsers), so I would recommend checking back regularly.

与往常一样,此列表中还有更多要添加的内容(尤其是在SVG2草案完成后,浏览器采用了其功能),因此,我建议定期进行检查。

Time: 2 hours

时间: 2小时

Prerequisites: Intro to SVG, CSS Typography

先决条件: SVG简介CSS排版

翻译自: https://thenewcode.com/810/Web-Developer-Reading-List-SVG-Text

svg 文本居中

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值