1、justify和align justify和align必须是flex布局才会生效(display: flex;) justify是水平方向,align是垂直方向,content是整个容器,items是容器里面的内容
justify-content: center; /* 水平居中 */ align-items: center; /* 垂直居中 */