This idea would probably need to introduce some kind of border-origin property for those who do not want their custom-length border to start in the center.
Which then leads me to think that a border pretty much defines an area so I think this should not be handled by a border but perhaps a good old <hr />
with the [transform: rotate()] and [position: absolute], you can push the <hr /> tag(s) to any position of the parent element with a [position: relative].
So which ever is sutaible for the user, either your second method or using the <hr />, all is still save...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This idea would probably need to introduce some kind of border-origin property for those who do not want their custom-length border to start in the center.
Which then leads me to think that a border pretty much defines an area so I think this should not be handled by a border but perhaps a good old <hr />
Absolutely agree with border-origin, which can accept values like "start", "center/middle", "end".
The problem with hr that it can work good horizontally but not vertically.. And border can work in both directions.
with the [transform: rotate()] and [position: absolute], you can push the <hr /> tag(s) to any position of the parent element with a [position: relative].
So which ever is sutaible for the user, either your second method or using the <hr />, all is still save...