【发布时间】:2016-12-13 10:24:54
【问题描述】:
如何在 ember 模板中显示 html 文档而不影响 ember 应用的 css 样式?
html 文档有一个 style 标签,与 ember 应用的 css 冲突。
【问题讨论】:
-
您可以在 ember.js 应用程序中使用 iframe 吗?
-
不,这会导致更多的复杂性。
如何在 ember 模板中显示 html 文档而不影响 ember 应用的 css 样式?
html 文档有一个 style 标签,与 ember 应用的 css 冲突。
【问题讨论】:
使用 YUI css reset 获得了解决方法。
href="http://yui.yahooapis.com/3.18.1/build/cssreset-context/cssreset-context-min.css">
<div class="yui3-cssreset"></div>
【讨论】: