display: flex;
justify-content: center; /* 水平居中 */ align-items: center; /* 垂直居中 */
CSS - flex 垂直水平居中
猜你喜欢
转载自www.cnblogs.com/500m/p/11434974.html
今日推荐
周排行