Skip to content

Commit

Permalink
Add default font-size and line-height styles.
Browse files Browse the repository at this point in the history
Redeclare default font-size using ems (equates to 16px if user
has not altered their prefs). Set a common line-height value to
improve readability in most cases. Should keep people happy.

Ref h5bp#723
Close h5bp#825
  • Loading branch information
necolas committed Oct 25, 2011
1 parent 125a7a6 commit 380c4f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ audio:not([controls]) { display: none; }

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; /* add your base font-size and line-height here */ }
body { margin: 0; font-size: 1em; line-height: 1.4; }

body, button, input, select, textarea { font-family: sans-serif; color: #222; }

Expand Down

0 comments on commit 380c4f8

Please sign in to comment.