Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/styling/css-linked-parameters/img-with-url-function-2.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Link Parameters - img element with url function and multiple url modifiers</title>
<link rel="author" title="Divyansh Mangal" href="mailto:dmangal@microsoft.com">
<link rel="match" href="circle-green-with-stroke-ref.html"/>
<style>
.image-with-params {
width:100px;
height:100px;
background-image: url("circle-with-parameters.svg" param(--color, green) param(--stroke, blue));
}
</style>
<div class="image-with-params"></div>