Source code
Revision control
Copy as Markdown
Other Tools
<!doctype html>
<meta charset="utf-8">
<title>CSS Pseudo-Elements Reference: the light-dark() function in highlight pseudos</title>
<link rel="author" title="Stephen Chenney" href="mailto:schenney@chromium.org">
<link rel="stylesheet" href="support/highlights.css">
<style>
.light {
color: green;
}
.dark {
color: blue;
}
</style>
<p>Test passes if Light is green and Dark is blue.</p>
<main class="highlight_reftest">
<p class="light">Light</p>
<p class="dark">Dark</p>
</mnain>