<style>
.col-center-block {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
</style>
CSS absolute 居中
猜你喜欢
转载自www.cnblogs.com/ILoveMyJob/p/9371861.html
今日推荐
周排行