From 9cb6107307d53243a17b365206cc56080945141e Mon Sep 17 00:00:00 2001 From: Dave Rupert Date: Thu, 7 Jul 2011 07:09:53 -0700 Subject: [PATCH] Added 3-Step Setup --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fc5ae46..6c3c3df 100644 --- a/README.md +++ b/README.md @@ -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)!