Plugin jQuery: Squishy : jQuery plugin for fitting text exactly to its container

Squishy : jQuery plugin for fitting text exactly to its container
http://www.jqueryrain.com/?http://cmsauve.com/projects/squishy/
https://github.com/pxldot/squishy
06/05/2013

Nội dung

Squishy : jQuery plugin for fitting text exactly to its container

Squishy is a jQuery plugin that automatically resizes text to exactly fit the container with no extra work on your part.

You can pass the script a number of options to restrict the squishiness. maxSize is used to set the maximum font size, minSize is used to set the minimum font size, maxWidth sets the maximum width of the line of text, and minWidth, the minimum (all in pixels, for now).


Nguồn: www.jqueryrain.com/2013/05/squishy-jquery-plugin-for-fitting-text-exactly-to-its-container/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận