Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Pseudo-Elements Test: Reference ::target-text text-decoration-color</title>
<style>
div {
text-decoration: solid underline magenta;
color: initial;
background: transparent;
}
</style>
<p>The test passes if the following line has a magenta underline.</p>
<div>Example</div>