<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="author" title="Karl Dubost" href="https://github.com/karlcow" />
<link rel="help" href="https://drafts.csswg.org/css-pseudo/#marker-pseudo" />
<link rel="help" href="https://drafts.csswg.org/css-variables/#defining-variables" />
<link rel="match" href="marker-variable-ref.html">
<title>::marker with variables</title>
<style>
.firstTest::marker {
--alpha: 0.75;
color: rgb(255 119 0 / var(--alpha));
}
.secondTest::marker {
--color: rgb(255 119 0);
color: var(--color);
}
</style>
</head>
<body>
<ul>
<li class="firstTest">Item 1</li>
<li class="secondTest">Item 2</li>
</ul>
</body>
</html>