This automatic operations ensures the text always fits perfectly in the container.
If the container is resized (smaller or bigger), the text is resized accordingly.
The plugin takes a single element and sizes the text inside of its child block elements to fit the width of the parent element.
Gives the text that lovely vertical alignment.
Besides calculating the font-size, it also takes into account the word-spacing needed to match a line of text to a specific width.
Here are some key features of "BigText":
· Editable text (contenteditable), and BigText will run on every keyup event to resize what the user is typing.
· Dynamic horizontal and vertical centering using CSS classes.
· 3D transforms (browser support checked using Modernizr, currently only available in Safari. Note: Chrome flattens to 2D space).