Skip to content

jQuery plugin for resizing text as its containers dimensions change.

Notifications You must be signed in to change notification settings

maxfolley/fluidtext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fluidtext

A jQuery plugin for resizing text as its parent's width is resized.

Usage

/*
 * initSize - initial font size 
 * initWidth - initial width of parent element
 * When resized, the font size will be calulated using the difference between the elements  current width and the passed initWidth value
 */
$("p").fluidText({initSize: 14, initWidth: 300});

About

jQuery plugin for resizing text as its containers dimensions change.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published