【发布时间】:2018-01-23 14:45:18
【问题描述】:
Zurb 基金会推荐 adding class="no-js" to the page html tag 以防止 Flash of Unstyled Content (FOUC)。
我们正在使用 Kentico CMS。我正在寻找将类添加到母版页中的html 元素标记的“Kentico 方式”。我们正在使用 CMS 门户引擎。
我们的目标
<html class="no-js"
如果没有更平易近人的方式使用 Kentico 宏或其 API,我愿意退回到 ASP.NET。
【问题讨论】: