title: Remove underline from a span when vertically and horizontally centered using flex
body: <p>The a tag should be underlined, however, the span tag should not be underlined. </p>
  
  <p>This solution doesn't work in my case: <a href="https://stackoverflow.com/a/13856365/11106685">https://stackoverflow.com/a/13856365/11106685</a>
  as I centered the a tag using flex. </p>
  
  <p><a href="https://jsfiddle.net/sebastian3495/sdbuz71v/" rel="nofollow noreferrer">https://jsfiddle.net/sebastian3495/sdbuz71v/</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>html, body {
    width: 100%;
    height: 100%;
  }
  .wrapper {
    background: rgba(0,0,0,0.3);
    width: 200px;
    height: 200px;
    display: flex;
  }
  .center {
    background: lightgreen;
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
  }
  span {
    display: inline-block;
    text-decoration: none;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="wrapper"&gt;
    &lt;a class="center" href="https://stackoverflow.com/questions/19026884/flexbox-center-horizontally-and-vertically"&gt;
      Center me &lt;span&gt; &lt;-- &lt;/span&gt;
    &lt;/a&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>