Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 525 Bytes

README.markdown

File metadata and controls

24 lines (18 loc) · 525 Bytes

A wrapper for the excellent FlowType.JS library

Responsive web typography at its finest: font-size and line-height based on element width.

Check out the demo site.

Meteor

In Meteor, just use it as you normally would - but in your Templates rendered function

Template.body.rendered = function(e) {
	$('body').flowtype({
	   minimum   : 500,
	   maximum   : 1200,
	   minFont   : 12,
	   maxFont   : 40,
	   fontRatio : 30,
	});
}