Skip to content

stefhatcher/vanilla-wim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

vanilla-wim

Vanilla JavaScript implementation of responsive typography.

Responsive to element's width. Maintains a font ratio.

var h1 = new VanillaWim('h1', {
  maxFont: 75,
  minFont: 16,
  fontRatio: 55,
  lineHeight: 1.6
});

About

Vanilla JavaScript implementation of responsive typography. Responsive to element's width.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published