阅读背景:

CSS3 兼容所有主流浏览器的垂直水平居中例子

来源:互联网 
.xiangmin {
    width: 100%;
    height: 100%;
    display: -moz-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -o-box;
    display: box;
    -moz-box-orient: horizontal;
    -moz-box-pack: center;
    -moz-box-align: center;
    -webkit-box-orient: horizontal;
    -webkit-box-pack: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -ms-box-orient:horizontal;
    -o-box-orient: horizontal;
    -o-box-pack: center;
    -o-box-align: center;
    box-orient: horizontal;
    box-pack: center;
    box-align: center;
}
.xiangmin {
    width: 100%;
    height: 10



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

分享到: