cssjustify-content属性如何用
发布时间:09/01 来源:未知 浏览:
关键词:
● initial:设定该属性为它的默许值。
● inherit:从父元素继承该属性。
css justify-content属性 示例
- 1
- 2
- 3
- 4
- 5
- 1
- 2
- 3
- 4
- 5
- 1
- 2
- 3
- 4
- 5
- 1
- 2
- 3
- 4
- 5
- 1
- 2
- 3
- 4
- 5
- 1
- 2
- 3
- 4
- 5
结果图:
注明:
红色列表是justify-content属性设定为 flex-start
黄色是justify-content属性设定为 flex-end
蓝色是justify-content属性设定为 center
绿色是justify-content属性设定为 space-between
粉红色是justify-content属性设定为 space-around
浅绿色是justify-content属性设定为 space-evenly
以上就是css justify-content属性如何用的细致内容,更多请关注 百分百源码网 其它相干文章!