-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
# Slingin’ Hot Leading | ||
Manually adjusting ```line-height``` for optimum readability across a bunch of media queries is kind of a pain. So I made a thing. | ||
Manually adjusting ```line-height``` for optimum readability across a bunch of media queries is kind of a pain. So I made a thing. One sets a minimum width at which the adjustment starts, a maximum element width where it stops, and a minimum and maximum line height to adjust through. This isn’t especially well-tested, but seems to check out in all the big desktop browsers (including IE). | ||
|
||
## Notes: | ||
* Binding to ```resize``` makes me nauseous to begin with, and in this first pass I’m going about it in a particularly gross way. | ||
* There’s a demo <a href="http://wilto.github.com/Molten-Leading/">right hurr</a>. | ||
|
||
(I’m kinda bad at readmes.) | ||
* There’s a demo <a href="http://wilto.github.com/Molten-Leading/">right hurr</a>. |