CSS 属性:
align-items:
结果:
RED
BLUE
Green div with more content.
CSS 代码:
div#main
{
display:flex;
align-items:stretch;
}
点击上面的属性值然后查看效果
w3cschool.cn