align-self align-self是设置单个items的对齐方式的 align-self可以单独给items设置对齐方式,他对齐的是container的交叉轴 具体代码: <style> .test{ height: 400px; width: 400px; background-color: #f00; /* 开启flex布局 */ display: inline-flex; } .box{ height: 100px; width: 100px; } .box1{ background-color: