| <!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; |
| } |
| #h2 { |
| text-underline-offset: 2svw; |
| text-decoration-line: underline; |
| text-decoration-color: green; |
| text-decoration-thickness: 4svh; |
| } |
| </style> |
| </head> |
| <body> |
| <div class="wrapper">With container size</div> |
| <div id="h2">Without container size</div> |
| </body> |