How to make hr
element be inline like I do it in snippet, but without absolute
positioning and without hr
crossing text?
div {
position: relative;
}
hr {
position: absolute;
top: 0.125rem;
left: 0;
right: 0;
}
<div>
Hello, World? <hr>
</div>