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实现”中
#parent{ display: flex; align-items: center; } //或 #parent{display: flex;} .son{align-self: center;}
效果如下
#parent{ display: flex; flex-direction: column; justify-content: center; }
效果如下 效果不一致,后者才是正确的
The text was updated successfully, but these errors were encountered:
Edge浏览器
Sorry, something went wrong.
No branches or pull requests
第二章“垂直居中”的第四个小节“单个块级元素”的第三点“使用flex实现”中
效果如下
效果如下
效果不一致,后者才是正确的
The text was updated successfully, but these errors were encountered: