jQuery FlowText Plugin
jQuery plugin for responsive font-size
Usage
-
Include jQuery:
<script src="path/to/jquery.min.js"></script>
-
Include plugin's code:
<script src="path/to/jquery.flowtext.js"></script>
-
Call the plugin:
// Default configuration $('.flowtext-element').flowtext(); // Custom configuration $('.flowtext-element').flowtext({ minFontSize: 16, maxFontSize: 20, minScreenWidth: 320, maxScreenWidth: 1024 });
Downloads
Configuration
minFontSize
Type: Integer
Default value: 16
Minimum flowtext font-size
maxFontSize
Type: Integer
Default value: 20
Maximum flowtext font-size
minScreenWidth
Type: Integer
Default value: 320
Minimum screen width for flowtext
maxScreenWidth
Type: Integer
Default value: 1024
Maxiumum screen width for flowtext
History
Check Releases for detailed changelog.