<svg class="container"><rect class="boxes"></rect></svg>
.container { width: 50px; height: 50px; } .container .boxes { width: 50px; height: 50px; fill: none; stroke-width: 50px; stroke: #9b59b6; stroke-dasharray: 50;