I am attempting to dynamically adjust the font size of a h1 element so that it fills 100% of the width of its parent div.
Despite trying various plugins like fittext.js, slabtext.js, and bigtext.js, I have yet to find one that achieves the desired effect.
Can anyone suggest a solution for achieving this effect for the .sectionTitle h1 elements in the example provided below?
Codepen: https://codepen.io/anon/pen/NpYJKK.
Sample HTML:
<section id="contact">
<div class="sectionContent">
<h1 class="sectionTitle">Contact</h1>
</div>
</section>