title: How can I make box shadow show over the next element in a container?
body: <p>Please see this code: <a href="http://codepen.io/Varin/pen/kkGgVd" rel="nofollow">http://codepen.io/Varin/pen/kkGgVd</a></p>
  
  <pre><code>    &lt;div class="container"&gt;
        &lt;div class="outside2"&gt;
          &lt;div class="inside2"&gt;
            &lt;span class="text"&gt;&lt;/span&gt;
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="outside2"&gt;
          &lt;div class="inside2"&gt;
            &lt;span class="text"&gt;&lt;/span&gt;
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="outside2"&gt;
          &lt;div class="inside2"&gt;
            &lt;span class="text"&gt;&lt;/span&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>And CSS</p>
  
  <pre><code>$color1 : rgba(123,223,12,0.66);
  $color2 : rgba(23,43,122,0.66);
  
  body {
    box-sizing: border-box;
    background-color: #222222;
    display:flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    //height: 100vh;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
  }
  
  .container {
    display:flex;
  }
  
  .text:after {
    content: 'Some info about the product and features, the history of the company lorem ipsum and so on.';
  }
  .outside2 {
    margin: 10px;
    box-sizing: border-box;
    padding: 10px;
    display:flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url(https://image.freepik.com/free-vector/wavy-letter-v-logo-in-abstract-style_1017-1976.jpg);
    background-position: center center;
    background-size: cover;
    height: 200px;
    width: 200px;
    border: solid 0px rgba(0,0,0,0.4);
    transition-duration: 0.5s;
    &amp;:hover {
      box-shadow: inset 0px 0px 101px 100px $color1, 0px 0px 201px 56px $color1;
      .text {
        opacity:1;
        transition-delay: 0.2s;
      }
    }
    .text {
      color: #fff;
      opacity:0;
      transition-duration: 0.5s;
      transition-delay: 0.1s; 
    }
  }
  </code></pre>
  
  <p>In the last row where both types of box shadow are displayed on hover, 1st elements' shadow is under the second element. Only the 3rd elements' shadow shows over the 2nd element.</p>
  
  <p>I could play with z-index I guess, but is there a way to make sure that all box-shadows are always on top of everything else? Is this something to do with flexbox?</p>