diff --git a/README.md b/README.md index 27c86d9..44f070f 100644 --- a/README.md +++ b/README.md @@ -12,23 +12,11 @@ Here is a simple FitText setup: ``` -Your text should now fluidly resize, by default: Font-size = 1/10th of the element's width. - -## The Compressor -If your text is resizing poorly, you'll want to turn tweak up/down "The Compressor". It works a little like a guitar amp. The default is `1`. - -```javascript -jQuery("#responsive_headline").fitText(1.2); // Turn the compressor up (resizes more aggressively) -jQuery("#responsive_headline").fitText(0.8); // Turn the compressor down (resizes less aggressively) -``` - -This will hopefully give you a level of "control" that might not be pixel perfect, but resizes smoothly & nicely. - ## minFontSize & maxFontSize FitText now allows you to specify two optional pixel values: `minFontSize` and `maxFontSize`. Great for situations when you want to preserve hierarchy. ```javascript -jQuery("#responsive_headline").fitText(1.2, { minFontSize: '20px', maxFontSize: '40px' }) +jQuery("#responsive_headline").fitText({ minFontSize: '20px', maxFontSize: '40px' }) ``` ## CSS FAQ diff --git a/example.html b/example.html index c6a2aee..cf55a1e 100644 --- a/example.html +++ b/example.html @@ -52,8 +52,8 @@