/ Published in: Other
This is simply to serve as a reminder for me as to Firefox's desired font size based on a 16pt base.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
h1 {display: block;font-size: 2em;font-weight: bold;margin: .67em 0;} // 32px h2 {display: block;font-size: 1.5em;font-weight: bold;margin: .83em 0;} // 24px h3 {display: block;font-size: 1.17em;font-weight: bold;margin: 1em 0;} // 19px h4 {display: block;font-weight: bold;margin: 1.33em 0;} // 16px h5 {display: block;font-size: 0.83em;font-weight: bold;margin: 1.67em 0;} // 13px h6 {display: block;font-size: 0.67em;font-weight: bold;margin: 2.33em 0;} // 11px h1 {font-size:2.667em;} h2 {font-size:2em;} h3 {font-size:1.583em;} h4 {font-size:1.333em;} h5 {font-size:1.083em;} h6 {font-size:0.917em;}