css文字水平垂直居中,CSS3如何实现元素水平居中、垂直居中
css文字水平垂直居中,CSS3如何实现元素水平居中、垂直居中详细介绍
.wrap{height: 100%;display: flex; justify-content: center; align-items: center;align-content:center;} .other{background-color: #ccc; width: 400px;height: 400px;} /* 额外的样式 可去除 */
.wrap{height: 100%;display: flex; justify-content: center; align-items: center;align-content:center;} .other{background-color: #ccc; width: 400px;height: 400px;} /* 额外的样式 可去除 */
本文主要探讨:"css文字水平垂直居中,CSS3如何实现元素水平居中、垂直居中", 浏览人数已经达到42次, 首屏加载时间:0.761 秒。