We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
本文介绍flex基础属性点的含义和归类
flex 通用样式类库 https://github.com/lzxb/flex.css/blob/master/docs/zh-ch.md
flex的作用方式分为容器和元素,x轴和y轴,将属性归纳起来便于理解
容器类:
flex-direction // 决定子元素的排列方向,x轴 or y轴 flex-wrap // 决定子元素的是否换行 justify-content // 决定子元素在x轴中空余space的分配 align-content // 决定子元素在y轴中空余space的分配 align-items // 子元素在y轴上的排列方式
元素类:
order // 排序 flex-grow // 对空间占用的大小 flex-shrink align-self // 功能与align-items一致,会覆盖align-items
参考 https://css-tricks.com/snippets/css/a-guide-to-flexbox/
The text was updated successfully, but these errors were encountered:
No branches or pull requests
本文介绍flex基础属性点的含义和归类
flex的作用方式分为容器和元素,x轴和y轴,将属性归纳起来便于理解
容器类:
元素类:
The text was updated successfully, but these errors were encountered: