From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../zh-cn/web/svg/element/font-face-src/index.html | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 files/zh-cn/web/svg/element/font-face-src/index.html (limited to 'files/zh-cn/web/svg/element/font-face-src') diff --git a/files/zh-cn/web/svg/element/font-face-src/index.html b/files/zh-cn/web/svg/element/font-face-src/index.html new file mode 100644 index 0000000000..40e4c5efdf --- /dev/null +++ b/files/zh-cn/web/svg/element/font-face-src/index.html @@ -0,0 +1,44 @@ +--- +title: font-face-src +slug: Web/SVG/Element/font-face-src +tags: + - SVG + - SVG字体 + - 元素 + - 参考 + - 需要兼容性表 + - 需要示例 +translation_of: Web/SVG/Element/font-face-src +--- +
{{SVGRef}}
+ +

font-face-src元素相当于CSS规范中的@font-face属性。它可以作为{{ SVGElement("font-face-name") }}元素的容器使用,指向本地安装的字体副本,{{ SVGElement("font-face-uri") }}元素则是利用远程定义字体。

+ +

用法

+ +

{{svginfo}}

+ +

示例

+ +

属性

+ +

全局属性

+ + + +

专有属性

+ +

+ +

DOM 接口

+ +

该元素实现了SVGFontFaceSrcElement接口。

+ +

相关内容

+ + -- cgit v1.2.3-54-g00ecf