CSS
html,
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
.hxxDesignMainfest-box {
position: relative;
top: 50%;
margin-top: -72px;
text-align: center;
}
.hxxDesignMainfest {
width: 144px;
height: 144px;
position: relative;
left: 50%;
background-size: 100% 100%;
margin-left: -72px;
}
.hxxDesignMainfest-txt {
display: inline-block;
color: #999;
font-size: 16px;
}
Debugging
https://static.hexingxing.cn/v2/example/css.element.absolutely.centered.html
友情提示:本站所有文章,如无特殊说明或标注,均为何星星原创发布。与此同时,趋于近年来本站的文章内容频繁被他站盗用与机器采集,现已全局禁用网站文字内容操作,了解详情或转载文章请 点此 继续!
0 条评论