请帮我解决我的问题,为什么我的边框在顶部和左侧更细?
.box {
position: relative;
padding: 30px;
}
svg {
position: absolute;
top: 4px;
left: 4px;
height: 100%;
width: 100%;
}
rect {
fill: none;
stroke: #0066a0;
stroke-width: 5;
stroke-dasharray: 8, 8;
}
<div class="box">
<svg>
<rect width="95%" height="95%" rx="15" ry="15"/>
</svg>
Some Content
</div>
我怎样才能使边框达到真实宽度?