提交 7bc447ca 编写于 作者: DCloud-yyl's avatar DCloud-yyl

Update visibility.md

上级 20201a8d
...@@ -7,10 +7,16 @@ ...@@ -7,10 +7,16 @@
<!-- CSSJSON.visibility.values --> <!-- CSSJSON.visibility.values -->
**注意**
设置 visibility 为 hidden,或设置 display 为 none 都可以隐藏元素。差异是通过 visibility 隐藏元素仍然占据页面位置,通过 display 隐藏元素不占据页面位置。
<!-- CSSJSON.visibility.defaultValue --> <!-- CSSJSON.visibility.defaultValue -->
<!-- CSSJSON.visibility.unixTags --> <!-- CSSJSON.visibility.unixTags -->
<!-- CSSJSON.visibility.compatibility --> <!-- CSSJSON.visibility.compatibility -->
<!-- CSSJSON.visibility.reference --> #### App平台差异
\ No newline at end of file App平台设置如果元素的 visibility 设置为 hidden,其子元素将不可见,即使子元素的 visibility 设置为 visible 也不可见。
<!-- CSSJSON.visibility.reference -->
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册