title: Why I have spaces between inline-block elements?
body: <p>Why I have spaces between links? (<code>inline-block</code> elements)<br />
  And how to remove it?<br />
  <a href="https://i.stack.imgur.com/sGqFi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sGqFi.png" alt="enter image description here" /></a></p>
  <p><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>* {
    margin: 0;
    padding: 0;
    border: 0;
  }
  
  a.headerLink {
    display: inline-block;
    padding: 15px;
    color: gray;
    border: 1px solid darkgray;
    text-decoration: none;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div&gt;
    &lt;a href="#" class="headerLink"&gt;Main&lt;/a&gt;
    &lt;a href="#" class="headerLink"&gt;Blog&lt;/a&gt;
    &lt;a href="#" class="headerLink"&gt;Contacts&lt;/a&gt;
    &lt;a href="#" class="headerLink"&gt;About&lt;/a&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>