我正在尝试测试使用<hr>
html 标签制作的简单小边框样式。它由垂直线和水平线组成。垂直线显示完美,但水平线末端有一条很小的奇怪曲线,我不知道为什么会这样。有人知道问题吗?
这是我的代码:
<div style="width:680px; height:540px; position: relative;">
<hr style="height: 23%; width: 0.01em; position: absolute; left: 35.3%; top: 5.5%;">
<hr style="height: 18%; width: 0.01em; position: absolute; left: 35.3%; top: 40.5%;">
<hr style="height: 20%; width: 0.01em; position: absolute; left: 35.3%; top: 70.5%;">
<hr style="height: 23%; width: 0.01em; position: absolute; left: 65.9%; top: 5.5%;">
<hr style="height: 18%; width: 0.01em; position: absolute; left: 65.9%; top: 40.5%;">
<hr style="height: 20%; width: 0.01em; position: absolute; left: 65.9%; top: 70.5%;">
<hr style="width: 22%; height: 0.01em; position: absolute; left: 7.7%; top: 34.5%;">
<hr style="width: 19%; height: 0.01em; position: absolute; left: 41.2%; top: 34.5%;">
<hr style="width: 21%; height: 0.01em; position: absolute; left: 71.8%; top: 34.5%;">
<hr style="width: 22%; height: 0.01em; position: absolute; left: 7.7%; top: 64.5%;">
<hr style="width: 19%; height: 0.01em; position: absolute; left: 41.2%; top: 64.5%;">
<hr style="width: 21%; height: 0.01em; position: absolute; left: 71.8%; top: 64.5%;">
</div>
这是一个jsfiddle链接: