Skip to content
New issue

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 布局 #13

Open
du1wu2lzlz opened this issue Jul 19, 2018 · 0 comments
Open

Flex 布局 #13

du1wu2lzlz opened this issue Jul 19, 2018 · 0 comments

Comments

@du1wu2lzlz
Copy link
Owner

du1wu2lzlz commented Jul 19, 2018

采用 Flex 布局的元素,称为 Flex 容器(flex container),简称"容器"。
它的所有子元素自动成为容器成员,称为 Flex 项目(flex item),简称"项目"
container与item各有6个API

container

  • flex-direction
  • flex-wrap
  • flex-flow
  • justify-content
  • align-items
  • align-content

item

  • order
  • flex-grow
  • flex-shrink
  • flex-basis
  • flex
  • align-self

flex : 1代表什么

flex 是 flex-growflex-shrinkflex-basis的缩写


软老师教程

@du1wu2lzlz du1wu2lzlz changed the title felx布局 flex布局 Jul 19, 2018
@du1wu2lzlz du1wu2lzlz changed the title flex布局 Flex 布局 Jul 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant