Source code

Revision control

Copy as Markdown

Other Tools

SVG Preview (Scaled)

Preview of https://raw.githubusercontent.com/mozilla-firefox/firefox/main/testing/web-platform/tests/svg/styling/css-linked-parameters/resources/target.svg
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
<style>#box:target { fill: env(--bg, red); }</style>
<rect id="box" width="100" height="100" fill="red"/>
</svg>