【发布时间】:2015-02-28 09:44:13
【问题描述】:
我正在使用与 bower 一起安装的 Ploymer 图标 0.5.5。这些图标在 Chrome 中运行良好,但在 Firefox 中隐藏。 Example Code
如何解决这个问题?
【问题讨论】:
标签: html css icons polymer material-design
我正在使用与 bower 一起安装的 Ploymer 图标 0.5.5。这些图标在 Chrome 中运行良好,但在 Firefox 中隐藏。 Example Code
如何解决这个问题?
【问题讨论】:
标签: html css icons polymer material-design
我刚刚注意到您的代码中没有包含 Web 组件的 polyfill,这很可能是问题所在。没有其他浏览器支持像 Chrome 这样的 Web 组件,因此您必须像这样在 index.html 中包含 polyfill:
<script src="[Polymer-elements-folder]/webcomponentsjs/webcomponents.js"><script>
【讨论】: