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://codercto.com/soft/d/22949.html

Web Caching

Web Caching

Duane Wessels / O'Reilly Media, Inc. / 2001-6 / 39.95美元

On the World Wide Web, speed and efficiency are vital. Users have little patience for slow web pages, while network administrators want to make the most of their available bandwidth. A properly design......一起来看看 《Web Caching》 这本书的介绍吧!

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

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

RGB CMYK 互转工具