title: Make link clickable behind another div
body: <p>I have an html that looks like this</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>.links {
    overflow: none;
    position: absolute;
  }
  
  .links section {
    width: max-content;
    height: 20px;
    background-color: red;
  }
  
  .links section a {
    pointer-events: none;
    z-index: 500;
    color: white;
  }
  
  .container {
    height: 100%;
    width: 100%;
    padding: 5em;
    background-color: blue;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="container"&gt;
    &lt;div class="canvas-wrapper"&gt;
      &lt;div class="links"&gt;
        &lt;section&gt;
          &lt;a href="www.google.com"&gt;Click me and get redirected&lt;/a&gt;
        &lt;/section&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="text-layer"&gt;&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p><a href="https://jsfiddle.net/ccastro95/61x5k4zt/14/" rel="nofollow noreferrer">https://jsfiddle.net/ccastro95/61x5k4zt/14/</a></p>
  <p>I would like to be able to click the a tag. It is imperative to keep <strong>.links as absolute position</strong>.</p>
  <p>I tried using pointer-events:none but it didn't work. Also the <strong>order of the elements is very important</strong> and should be kept like it is.</p>