CSS3 稳固而知新: 居中

水平居中

transform: translateX(-50%);

left: 50%;

 

垂直居中同理

transform: translateY(-50%);  
top:50%;
 
 
垂直水平居中

top: 50%;
left: 50%;
transform: translate3d(-50%, -50%, 0);

 

l  [el]  详细X
基本翻译
n. 字母l(英语字母中的第十二个字母)
网络释义
L: L (滨崎步单曲)
L chondrite: L球粒陨石
L函数: L-function
posted @ 2017-03-14 20:51  贝尔塔猫  阅读(311)  评论(0编辑  收藏  举报