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

直接引入dist中的flex.css, 不管用 #6

Closed
jackPanyj opened this issue Nov 30, 2016 · 3 comments
Closed

直接引入dist中的flex.css, 不管用 #6

jackPanyj opened this issue Nov 30, 2016 · 3 comments

Comments

@jackPanyj
Copy link

首先很感谢你们。我把dist目录中的flex.css拷贝到了我的本地。然后发现在安卓4.2上不管用。在5.1上是好的。请问这是什么原因。

@lzxb
Copy link
Owner

lzxb commented Dec 5, 2016

可以上具体代码看看么,我自己测试下。

@jackPanyj
Copy link
Author

抱歉。。不止为何现在好了。可能是我某些地方写错了。另外。。还有一个问题。
为何会设置overflow:hidden;
[flex],[flex]>*,[flex]>[flex]{overflow:hidden}

之前有个我有个子元素绝对定位需要在父元素之上。结果因为父元素是这个设置就被剪切了。

@lzxb
Copy link
Owner

lzxb commented Dec 5, 2016

这个是为了避免在一些旧的浏览器内核引发的一些奇怪的bug,所以默认设置了overflow:hidden;
你可以根据自己的需要去进行调整

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

2 participants