H1-H6 在 jsFiddle 中不起作用?
我注意到在 jsFiddle 中,标题标签 (
--
) 不会“放大”(或者以其他方式样式)文本符合预期。
) 不会“放大”(或者以其他方式样式)文本符合预期。例如: http://jsfiddle.net/Bubby4j/KURKp/
我期待看到文本更大,但看起来像普通文本。我怎样才能恢复正常行为?
I've noticed that in jsFiddle, the header tags (<h1>
-- <h6>
) don't "enlarge" (or otherwise style) the text as expected.
For example: http://jsfiddle.net/Bubby4j/KURKp/
I was expecting to see the text larger, but it looks like regular text. How can I get the normal behavior back?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
现在,您可以在面板的“选择框架”部分中取消选中“规范化 CSS”。
You can now untick "Normalize CSS" in the "Choose Framework" section of the panel.
jsFiddle 目前强制所有小提琴正常化 - 我希望将其更改为可选的二月中旬。确实很烦人 - 不知道我在想什么。
jsFiddle currently forces normalize on all fiddles - I hope to have it changed to optional mid Feb. Annoying indeed - no idea what I was thinking.
如果您的意思是“不起作用”,因为字体大小不是您经常看到的,那是因为
font-size:100%
是从 h2-h6 的 jsfiddle 样式表继承的。您可以使用
h2 { font-size:2em; 重新声明自己的规则}
或 CSS 选项卡中您喜欢的任何值。If you mean "doesnt work" in terms of the font size not being what you regularly see, that is because
font-size:100%
is inherited from the jsfiddle stylesheets for h2-h6.You can redeclare your own rules with
h2 { font-size:2em; }
or any value you like in the CSS tab.