public
Created

New type scale in Bootstrap 2.1.2

  • Download Gist
gistfile1.css
CSS
1 2 3 4 5 6 7 8 9 10
h1,
h2,
h3 { line-height: @baseLineHeight * 2; }
 
h1 { font-size: @baseFontSize * 2.75; } /* ~38px */
h2 { font-size: @baseFontSize * 2.25; } /* ~32px */
h3 { font-size: @baseFontSize * 1.75; } /* ~24px */
h4 { font-size: @baseFontSize * 1.25; } /* ~18px */
h5 { font-size: @baseFontSize; }
h6 { font-size: @baseFontSize * 0.85; } /* ~12px */

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.