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/glossary/polyfill/index.html | |
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/glossary/polyfill/index.html')
-rw-r--r-- | files/zh-cn/glossary/polyfill/index.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/files/zh-cn/glossary/polyfill/index.html b/files/zh-cn/glossary/polyfill/index.html new file mode 100644 index 0000000000..d7ca530c9e --- /dev/null +++ b/files/zh-cn/glossary/polyfill/index.html @@ -0,0 +1,16 @@ +--- +title: Polyfill +slug: Glossary/Polyfill +translation_of: Glossary/Polyfill +--- +<p>Polyfill 是一块代码(通常是 Web 上的 JavaScript),用来为旧浏览器提供它没有原生支持的较新的功能。</p> + +<p>比如说 polyfill 可以让 IE7 使用 Silverlight 插件来模拟 HTML Canvas 元素的功能,或模拟 CSS 实现 rem 单位的支持,或 {{cssxref("text-shadow")}},或其他任何你想要的功能。</p> + +<h2 id="了解更多">了解更多</h2> + +<h3 id="常识">常识</h3> + +<ul> + <li><a href="https://remysharp.com/2010/10/08/what-is-a-polyfill">什么是 polyfill?</a> (Remy Sharp 著,概念发明者)</li> +</ul> |