Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Highlight API Test Reference</title>
<head>
<style>
.wrapper {
width: 200px;
height: 100px;
text-underline-offset: 4px;
text-decoration-line: underline;
text-decoration-color: green;
text-decoration-thickness: 4px;
}
</style>
</head>
<body>
<div class="wrapper">With container size</div>
<div>Should be no highlight</div>
</body>