Created in response to Tim Brown's article Molten Leading: http://nicewebtype.com/notes/2012/02/03/molten-leading-or-fluid-line-height/
Select applicable elements with jQuery and pass an amount:
The minimum line height can be supplied in the following ways -
If the amount is passed as a float or any units other than px, the script will default to ems. In order for min-line-height to take effect an element must have a min-width, max-width, and default line-height (serves as the max-line-height) specified in CSS. Any element without one of the three properties will simply not get processed.
Why you can't use custom CSS properties to handle this:
Ideally, specifying them min-line-height in a CSS file would be the more manageable, but research found that per the CSS 2.1 mandates browsers to ignore any unrecognized properties:
This means the only way to access a property defined as...