Skip to content

Commit

Permalink
Added 3-Step Setup
Browse files Browse the repository at this point in the history
  • Loading branch information
davatron5000 committed Jul 7, 2011
1 parent 39652d5 commit 9cb6107
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,16 @@ The default setting works pretty well, but when it doesn't FitText has one setti

This will hopefully give you a level of "control" that might not be pixel perfect, but scales smoothly & nicely.

## 3-Step Setup

* Add all the Javascripts (jQuery, FitText and `$(element).fitText();` block) as described above.
* Set your `font-size` in your CSS. This will make act like a max-font-size.
* Squeeze your browser.

## CSS Tips

* Set your target headline to `width: 100%` in your CSS. And if you set a font-size, this will act like a `max-font-size`.
* Set your target headline to `width: 100%` in your CSS.
* Set a font-size, this will act like a `max-font-size`.
* Be ready to tweak till everything balances out.
* So far, FitText seems to work with other fun properties like text-shadow
* It also works with [Lettering.js #synergy](http://github.com/davatron5000/Lettering.js)!
Expand Down

0 comments on commit 9cb6107

Please sign in to comment.