Open this example in the interactive library
Source code
<style>
.demo::before {
content: "◆";
color: #0f766e;
margin-inline-end: 0.5rem;
}
</style>
<div class="demo">Add a purely decorative leading mark</div>
Add a purely decorative leading mark with native CSS. The preview includes a small shared demo stylesheet.
Open this example in the interactive library
<style>
.demo::before {
content: "◆";
color: #0f766e;
margin-inline-end: 0.5rem;
}
</style>
<div class="demo">Add a purely decorative leading mark</div>