title: Sticky top Bootstrap Div fixed scroll
body: <p>I am trying to use <code>sticky-top</code> of bootstrap to set a div when I scroll, I have tried the following:</p>
  
  <pre><code>&lt;div class="col-md-4"&gt;
    &lt;div class="sticky-top"&gt;
       &lt;app-reserva&gt;&lt;/app-reserva&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I have read similar questions where they say that you have to add the following:</p>
  
  <pre><code>.sticky-top { top: 0.5em; }
  </code></pre>
  
  <p>But this did not work for me either, what am I missing?</p>