At its simplest, the BigText jQuery plugin takes a single element and sizes the text inside of its childs to fit the width of the parent element. Gives the text that lovely vertical alignment.The plugin itself is more than just a simple font-size incrementer. I wasn’t happy with the performance of simply iterating through font sizes with a single fixed interval. I decided it would be better to test multiple decreasing intervals. For each line, it increments first by 16em until it detects a line break, backs off an interval then increments by 8em. It continues with 4em, 2em, 1em, 0.1em, until it finds the correct font-size to the nearest hundredth of an em.
Plugins Text Effect