Auto line-height RequiresUseSettingsMore

程序名称:Auto line-height RequiresUseSettingsMore

Auto line-height RequiresUseSettingsMore 介绍

Adjusts the line-height of selected elements in proportion to their width,
relative to the font size.

Requires

Use

$(function(){ $('#flexme').autolineheight(); });

Where ‘flexme’ is the id of an element in your page whose contained text is to
be fine tuned.

Settings

You may adjust the default values to your taste and circumstance when you
assign the behaviour to an element, for example:

$('#flexme').autolineheight({minWidth:16,minLineHeight:1.2,ratio:.03});

More

Further details can be found on my blog post: Auto line-height: a jQuery
plugin for flexible
layouts

Auto line-height RequiresUseSettingsMore 官网

http://plugins.jquery.com/project/autolineheight

相关编程语言

多功能下拉选择插件 SelectPage 简洁而强大的下拉分...
AutoComplete 是一个 jQuery Mobile 的插件,用于实...
Combogrid 是一个jQuery插件用于为输入框添加高级自...
Autobox2这个jQuery插件,可以用于创建类似于Facebo...
Link Scraper TextBox 是一个文本框的扩展插件,当你...
Awesomplete 超小超好用的超漂亮的 autocomplete 框...