title: Radial Box Shadow on Fixed element
body: <p>I'm trying to add kind of "radial box shadow" to a div. 
  I use a <code>::before</code>  pseudo-element and Z-index to achieve it. 
  <a href="https://jsfiddle.net/s4qz3tLw/2/" rel="nofollow noreferrer">See a simplified fiddle here.</a></p>
  
  <p>Problem : while it works fine when the element's position is either relative or absolute, the z-index rule doesn't seem to apply when position is set to fixed. </p>
  
  <p>Any idea how to make this work?</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>.statusBar {
    position: absolute;
    /*chnaging this to fixed will break the z-index*/
    background: #FCFCFC;
    width: 90%;
    height: 80px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0px 20px;
    box-sizing: border-box;
    border: 0.5px solid grey;
  }
  
  .statusBar::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 96%;
    top: 0;
    height: 10px;
    left: 2%;
    border-radius: 100px / 5px;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.6);
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="statusBar"&gt;
    &lt;span&gt;Some&lt;/span&gt;
    &lt;span&gt;content&lt;/span&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>