JSFiddle - React, Tailwind, and code Playground
by martinschaer
HTML
<script src="https://raw.github.com/davatron5000/FitText.js/master/jquery.fittext.js"></script>
<div id="container">
This text should fill the container!
</div>
CSS
#container{
width: 100%;
}
JavaScript
// FitText.js: https://github.com/davatron5000/FitText.js
$('#container').fitText(1.5);