title: How can I create a popup box with arrow with a box shadow also?
body: <p>I have managed to get a popup box like this with box shadow but it looks incorrect and the arrow looks like a rhombus on the edge. how can I make it bigger and just a triangle on the side like this. Needs a box shadow too</p>
  
  <p><a href="https://i.stack.imgur.com/GZRtj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GZRtj.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>.audio-arrow-box {
    position: fixed;
    top: 30%;
    background: white;
    border-radius: 6px;
    display: block;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
    width: 284px;
    height: 200px;
    z-index: 99;
    margin-left: 50px;
  }
  
  .audio-arrow-box::after {
    z-index: -99;
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    margin-left: 0;
    bottom: 0;
    top: calc(25% - 5px);
    left: 0;
    box-sizing: border-box;
    border: 5px solid #fff;
    border-color: transparent transparent #fff #fff;
    transform-origin: 0 0;
    transform: rotate(45deg);
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.4);
  }
  
  .audio-arrow-box::before {
    z-index: 10;
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    margin-left: 0;
    bottom: 0;
    top: calc(25% - 5px);
    left: 0;
    box-sizing: border-box;
    border: 5px solid black;
    border-color: transparent transparent #fff #fff;
    transform-origin: 0 0;
    transform: rotate(45deg);
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="audio-arrow-box"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>