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

Making Things See

Making Things See

Greg Borenstein / Make / 2012-2-3 / USD 39.99

Welcome to the Vision Revolution. With Microsoft's Kinect leading the way, you can now use 3D computer vision technology to build digital 3D models of people and objects that you can manipulate with g......一起来看看 《Making Things See》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

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

正则表达式在线测试