居中

2018-02-23  本文已影响1人  逆流成河wsy
 position: absolute;
 left: 50%;
 top: 50%;
 transform: translate(-50%, -50%);//x洲与y轴的偏移量
上一篇 下一篇

猜你喜欢

热点阅读