jquery-responsive-text
JQuery-Plugin for viewport-based font-sizing
Example
$(document).ready(function() { $("h1.responsive").responsiveText({ fontSize: '5vw' }); }); Options
| Name | Description | Default |
|---|---|---|
| fontSize | Use css3 vw and vh unit | |
| minFontSize | the minimum font-size | 12px |
| maxFontSize | the maximum font-size | |
| bindResize | whether to perform layout on window resize or not | true |
Methods
| Name | Description | Return |
|---|---|---|
| invalidate | Refreshes the component | void |