如何使用Javascript(jQuery)确定'line-height'? [英] How to determine a 'line-height' using Javascript (jQuery)?

查看:111
本文介绍了如何使用Javascript(jQuery)确定'line-height'?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗯,遇到需要一个线高编码的插件,所以你能给一个建议吗?
谢谢)

解决方案

  $('selector')。行高'); 


Well, encountered the need of a line-height coding a plugin, so, can you give an advice, please? Thanks)

解决方案

$('selector').css('line-height');

这篇关于如何使用Javascript(jQuery)确定'line-height'?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆