jQuery Plugin To Auto Resize Text Based On Container Size - Harmonize Text
File Size: | 4.95 KB |
---|---|
Views Total: | 664 |
Last Update: | |
Publish Date: | |
Official Website: | Go to website |
License: | MIT |
![jQuery Plugin To Auto Resize Text Based On Container Size - Harmonize Text](https://www.jqueryscript.net/images/jQuery-Plugin-To-Auto-Resize-Text-Based-On-Container-Size-Harmonize-Text.jpg)
Harmonize Text is a lightweight jQuery text resize plugin for responsive web design that automatically reduces or increases font size to make your text fit to its parent container.
How to use it:
1. Put jQuery library and the jQuery harmonize text plugin into your html page.
<script src="//code.jquery.com/jquery.min.js"></script> <script src="jquery.harmonize-text.min.js"></script>
2. To active the plugin, just call the harmonizeText()
function on the text wrapping element and done.
$("p").harmonizeText();
This awesome jQuery plugin is developed by hail2u. For more Advanced Usages, please check the demo page or visit the official website.