Created
January 9, 2019 20:02
-
-
Save blowery/d27ab75b1a151b27153729418e86c6a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Play</title> | |
</head> | |
<body> | |
<div id="foo">PANTS</div> | |
<script> | |
const t = require('textfit'); | |
textfit( document.queryElementById( 'foo' ) ); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment