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
CSS里的visibility属性有个collapse属性值是干嘛用的?在不同浏览器下以后什么区别? 对于普通元素visibility:collapse;会将元素完全隐藏,不占据页面布局空间,与display:none;表现相同. 如果目标元素为table,visibility:collapse;将table隐藏,但是会占据页面布局空间. 仅在Firefox下起作用,IE会显示元素,Chrome会将元素隐藏,但是占据空间.
这里描述有点小问题。其实在Chrome中,如果目标元素是table。visibility:collapse;将table隐藏,但是不会占据页面布局空间。普通元素隐藏,但占据空间。
测试链接
The text was updated successfully, but these errors were encountered:
i agree
Sorry, something went wrong.
No branches or pull requests
这里描述有点小问题。其实在Chrome中,如果目标元素是table。visibility:collapse;将table隐藏,但是不会占据页面布局空间。普通元素隐藏,但占据空间。
测试链接
The text was updated successfully, but these errors were encountered: