码农教程
: css align-self 实例
编辑代码
执行
红色
蓝色
带有更多内容的绿色 div
注意:
align-self 属性可重写容器的 align-items 属性。
注意:
Internet Explorer 和 Safari 不支持 align-self 属性。
结果: