title: How can I add a space inside a fixed element?
body: <p>I've a problem with two fixed elements at the bottom of my page:</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>#wrapper {
    position: fixed;
    background: gray;
    color: #fff;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 12px 12px 0 0;
    width: 100%;
  }
  
  #bottom-element {
    height: 30px;
    position: fixed;
    background: black;
    display: block;
    bottom: 0;
    z-index: 2;
    width: 100%;
    left: 0;
    right: 0;
  }
  
  #title {
    text-align: center;
    padding: 15px;
    border-bottom: 1px solid white;
  }
  
  #notifications {
    display: flex;
    flex-direction: column;
        overflow: scroll;
      overflow-x: hidden;
  }
  
  .entry {
    padding: 15px;
    background: cadetblue;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="wrapper"&gt;
    &lt;div id="title"&gt;Notifications&lt;/div&gt;
    &lt;div id="notifications"&gt;
      &lt;div class="entry"&gt;Test&lt;/div&gt;
      &lt;div class="entry"&gt;Test&lt;/div&gt;
      &lt;div class="entry"&gt;Test&lt;/div&gt;
      &lt;div class="entry"&gt;Test&lt;/div&gt;
      &lt;div class="entry"&gt;Test&lt;/div&gt;
      &lt;div class="entry"&gt;Test&lt;/div&gt;
      &lt;div class="entry"&gt;Test&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;div id="bottom-element"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The problem is that the last entry is hidden under <code>bottom-element</code>. I've already tried this on the notifications element:</p>
  
  <ul>
  <li><code>padding-bottom: 30px</code> </li>
  <li><code>margin-bottom: 30px</code></li>
  </ul>
  
  <p>And also a pseudo element: </p>
  
  <pre><code>#notifications::after {
      content: '';
      width: 100%;
      height: 30px;
      display: block;
  }
  </code></pre>
  
  <p>But nothing works. How can I fix this problem?</p>