diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/svg/element/font-face-src | |
parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip |
initial commit
Diffstat (limited to 'files/zh-cn/web/svg/element/font-face-src')
-rw-r--r-- | files/zh-cn/web/svg/element/font-face-src/index.html | 44 |
1 files changed, 44 insertions, 0 deletions
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 +--- +<div>{{SVGRef}}</div> + +<p><code>font-face-src</code>元素相当于CSS规范中的@font-face属性。它可以作为{{ SVGElement("font-face-name") }}元素的容器使用,指向本地安装的字体副本,{{ SVGElement("font-face-uri") }}元素则是利用远程定义字体。</p> + +<h2 id="用法">用法</h2> + +<p>{{svginfo}}</p> + +<h2 id="示例">示例</h2> + +<h2 id="属性">属性</h2> + +<h3 id="全局属性">全局属性</h3> + +<ul> + <li><a href="/en/SVG/Attribute#Core" title="en/SVG/Attribute#Core">核心属性</a> »</li> +</ul> + +<h3 id="专有属性">专有属性</h3> + +<p><em>无</em></p> + +<h2 id="DOM_接口">DOM 接口</h2> + +<p>该元素实现了<code><a href="/en/DOM/SVGFontFaceSrcElement" title="en/DOM/SVGFontFaceSrcElement">SVGFontFaceSrcElement</a></code>接口。</p> + +<h2 id="相关内容">相关内容</h2> + +<ul> + <li>{{ SVGElement("font-face") }}</li> + <li><a href="/en/SVG/Tutorial/SVG_fonts" title="en/SVG/Tutorial/SVG_Fonts">SVG教程:SVG字体</a></li> +</ul> |