会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Dear 丶Lord
一个喜欢HipHop的不正经程序猿 姜森--WEB 前端 成都
博客园
首页
新随笔
联系
订阅
管理
2016年12月1日
不用lineheight 让文字居中
摘要: 如果有下列代码: <div class="wrapper"> hello world </div>想让hello world在wrapper类中垂直居中,可以为wrapper中添加如下CSS: .wrapper:after { display:inline-block; width:0; heigh
阅读全文
posted @ 2016-12-01 18:01 不正经的CodeMonkey
阅读(500)
评论(0)
推荐(0)
编辑
公告