阅读背景:

jQuery根据字符数改变CSS中的行高

来源:互联网 

I have a Twitter widget on my site that displays our company's most recent tweet. If the tweet is over a certain length however, it does not fit in the container on the site and gets cut off. I would like to programmatically change the line-height css of the element depending on the number of characters in the tweet.I have a Twitter widget on my site that display




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: