davatron5000 / FitText.js

A jQuery plugin for inflating web type
http://fittextjs.com
6.76k stars 1.39k forks source link

Data Attributes #149

Open darnold opened 8 years ago

darnold commented 8 years ago

Check for compressor, min, and max data attributes on current active element.

Yo Dave, this has been super useful for us to be able to set a generic class for fittext $(".fittext").fitText(); and then control the individual elements via data-min="35px" etc. Let me know what you think.