🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

FlowText is a very small jQuery responsive text plugin which dynamically scales the font sizes of your text according to the container or screen width.

responsive-text

Documentation

jQuery FlowText Plugin

jQuery plugin for responsive font-size

Usage

  1. Include jQuery:

    <script src="path/to/jquery.min.js"></script>
  2. Include plugin's code:

    <script src="path/to/jquery.flowtext.js"></script>
  3. 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.


You May Also Like