代码编辑器:
x
1
2
<meta charset="utf-8">
3
<meta name="viewport" content="width=device-width, initial-scale=1">
4
<link rel="stylesheet" href="https://cdn.bootcss.com/foundation/5.5.3/css/foundation.min.css">
5
6
<div style="padding:20px;">
7
<h2>标题</h2>
8
<p>标题不同元素字体大小不一样。以下字体默认加粗,不同设备尺寸显示的字体也是不一样的,你可以通过重置浏览器窗口大小查看效果。</p>
9
<h1>h1 标题 (<strong>2.125rem</strong> - 2.75rem)</h1>
10
<h2>h2 标题 (<strong>1.6875rem</strong> - 2.3125rem)</h2>
11
<h3>h3 标题 (<strong>1.375rem</strong> - 1.6875rem)</h3>
12
<h4>h4 标题 (<strong>1.125rem</strong> - 1.4375rem)</h4>
13
<h5>h5 标题 (1.125rem)</h5>
14
<h6>h6 标题 (1rem)</h6>
15
</div>
16