css:当父级高度为百分比时,给子级设置垂直居中 父级: height: 100%;display: table; 子级: vertical-align:middle;display:table-cell;