Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6e86634

Browse files
committed
Merge pull request davatron5000#9 from codler/patch-1
Usage tips
2 parents 3a55441 + df9eb6d commit 6e86634

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ FitText now allows you to specify two optional pixel values: `minFontSize` and `
3030
* Make sure your headline is `display: block;` or `display: inline-block;` with a specified width, i.e. `width: 100%`.
3131
* Be ready to tweak till everything balances out.
3232
* FitText now ignores your CSS file's font-size, but be sure to set one as a non-javascript fallback.
33+
* Make sure your element is appended to document before setting fitText. e.g. `$('<div>').fitText()` will NOT work
3334

3435
## Changelog
3536
* `v 1.1` - FitText now ignores font-size and has minFontSize & maxFontSize options

0 commit comments

Comments
 (0)