Skip to content

dperish/fixie.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fixie.js

Like FitText or BigText, but for fixed-width fonts.

Usage

Include the script at the bottom of your page, provide a font-size in em for your pre elements and decorate them with a class name of 'fixie' followed by an underscore & the number of columns, such as:

<!DOCTYPE html>
<html>
<head>
    <link rel="stylesheet" type="text/css" href="fixie.css" />
</head>
<body>
    
    <pre class="fixie_80">I'll scale nicely to a happy 80 columns!</pre>
    
    <script type="text/javascript" src="fixie.js"></script>
</body>
</html>

Contributions

All contributions are welcome.

License

fixie.js is free (as in love), and is provided under The MIT License (MIT)

About

Like FitText or BigText, but for fixed-width fonts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published