14 lines
676 B
HTML
14 lines
676 B
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|
<html>
|
|
<head>
|
|
<title>::selection pseudo-element</title>
|
|
<style type="text/css">
|
|
.highlight { background-color: rgba(99, 254, 0, 0.95); }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<!-- This result mimics the text-wrapping that would occur in a window with size 800 x 600 pixels. -->
|
|
<p style="margin-bottom: 0" class="highlight">Any textual selection in this long paragraph should have green background. Any textual selection in this long paragraph</p><p style="margin-top: 0"><span class="highlight">should have green background. Any textual selection in this long paragraph should have green background.</span></p>
|
|
</body>
|
|
</html>
|