2.3.1 GPL: GNU General Public License + 1 others
5.0/5 3
A tiny jQuery plugin for creating responsive page titles, ideal for creating bold, multi-line headers and newspaper-like headlines




The slabText plugin was inspired by the FitText plugin and written to produce newspaper like headlines that work with responsive page layouts.

Being responsive means it will always resize to fit the user's viewport in real-time, recalculating font sizes automatically without the user or the developer having to do anything.

Besides font size, the script also automatically determines the number of individual text rows per phrase, splitting long-winded titles across multiple lines, while slowly varying the font size with each line.

This is done by a math formula that takes into account the ideal number of characters for each row.

Taking this number, the title phrase is broken down on a per-row basis, dividing the available words while also taking into account the developer's desired font-size in pixels.

The underbellies of slabText are a mathematician's dream, but the end result is quite fantastic.

A demo is included with the download package.
Last updated on June 30th, 2014
slabText - slabText can create big multi-line headers and page headlines

0 User reviews so far.