title: How to make Square dotted border
body: <p>I want make a Square spaced dotted border, Can anyone please tell how to make those dots <strong>Square</strong>, Like,</p>
  
  <p><a href="https://i.stack.imgur.com/vcdr9.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vcdr9.jpg" alt="enter image description here"></a></p>
  
  <p>Here is my code,  Please help me.
  <div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.dots{
    background-image: linear-gradient(to bottom, #333 10%, rgba(255, 255, 255, 0) 0%);
    background-position: left;
    background-size: 1px 10px;
    background-repeat: repeat-y;
  }
  div {
    padding: 10px 50px;
    width: 100px;
    height: 200px; 
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="dots"&gt;Dotted border&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>