<h1><span>Fit Me</span></h1>
@import url('https://fonts.googleapis.com/css?family=Bowlby+One+SC');

h1 {
  text-align: center;
  font-family: 'Bowlby One SC', cursive;
  width: 320px;
  height: 320px;
  background: pink;
  margin: 0 auto;
}
View Compiled
$('h1').textfill({
  maxFontPixels: 200
});

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
  2. https://s3-us-west-2.amazonaws.com/s.cdpn.io/3/jquery.textfill.js

Packages

This Pen doesn't use any packages.