I am trying to create a web under the <hr /> element, but I have a problem when it comes to the "round parts".
I avoid inserting / using SVG, as this may or may not be inserted by the user (for example, the user can include the hr element in the message, for example, and I want the website to appear in it too).
This may mean that the hr element should be styled so that it appears in all instances of the hr element (which indicates the absence of additional HTML elements).
I have included a quick layout of what I'm trying to achieve below:
Desired Result
Something like this image depicts:

Current code
I'm currently struggling to make “spindles” between two pseudo-elements, and the closest way I created the “spindles” is as follows:
html{ margin:0; padding:0; background:rgba(0,0,0,0.1); color:black; } hr{ height:30px; border-bottom:none; border-right:none; position:relative; } hr:before, hr:after{ content:"m"; position:absolute; height:40px; width:1px; top:0; left:0; transform-origin:top left; transform:rotate(-20deg); background:black; } hr:after{ transform:rotate(-40deg); }
<hr />
It certainly looks awful (mostly with terrible overlaps), but I can't find a way to create such a form without them.
Attempts still
I tried to make "web links" using different letters in the content pseudo-elements
I tried using curves / overflow hidden, but this failed (unfortunately I could add)
I would really appreciate any answers to this, and if that were possible using pure CSS, it would be even better! But now I am at a loss regarding how to achieve such functionality.
source share