提交 14357360 编写于 作者: shutao-dc's avatar shutao-dc

z-index补充fixed元素可被根节点元素覆盖示例

上级 68d1c46e
......@@ -22,6 +22,10 @@
<view class="common" style="background-color: blue;top: -75px;left: 175px;">
<text>z-index: 0</text>
</view>
<view class="common fixed" style="background-color: chocolate;top: 250px;left: 175px;z-index: -1;">
<text>position: fixed</text>
<text>z-index: -1</text>
</view>
</view>
</view>
</template>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册