Auto line-height

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-08 18:11:29

软件介绍

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

本文地址:https://www.codercto.com/soft/d/22949.html

Linux Device Drivers

Linux Device Drivers

Jonathan Corbet、Alessandro Rubini、Greg Kroah-Hartman / O'Reilly Media / 2005-2-17 / USD 39.95

Device drivers literally drive everything you're interested in--disks, monitors, keyboards, modems--everything outside the computer chip and memory. And writing device drivers is one of the few areas ......一起来看看 《Linux Device Drivers》 这本书的介绍吧!

MD5 加密
MD5 加密

MD5 加密工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具