会员
周边
新闻
博问
融资
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
朝阳升
博客园
首页
新随笔
联系
订阅
管理
2017年4月11日
页面中根据文字的多少自动显示一行或两行,一行的时候高度居中,两行自适应
摘要: var t = 50/ $(".shopsinfo-bottom .address li:first p").height(); $(".shopsinfo-bottom .address li:first p").css({ lineHeight:t*16+"px", height:t*$(".s
阅读全文
posted @ 2017-04-11 11:45 朝阳升
阅读(904)
评论(0)
推荐(0)
编辑
公告