Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/render/order/z-index.svg - WPT Dashboard Interop Dashboard
width="300" height="200" viewBox="0 0 300 200">
<metadata>
<h:link rel="match" href="z-index-ref.svg"/>
<h:meta name="assert" content="The z-index property allows an element to be assigned to a stack level."/>
</metadata>
<rect x="74" y="35" width="70" height="70" fill="red" style="z-index: 1;" />
<rect x="130" y="50" width="70" height="70" fill="green" />
<rect x="100" y="80" width="70" height="70" fill="blue" />
</svg>