Open this example in the interactive library
Source code
<style>
.demo {
display: flex;
align-items: center;
gap: 0.5rem;
}
.demo::after {
content: "";
height: 1px;
flex: 1;
background: #64748b;
}
</style>
<div class="demo">Draw a decorative trailing line</div>