title: How to resize navbar logo on scroll down
body: <p>So I have this navbar with a logo on it. I would like the logo to be big when the user is in the header section of the page, but then shrink when the user scrolls down. Any way to do this?  </p>
  
  <pre><code> &lt;!-- NAVBAR --&gt;
          &lt;nav class="navbar navbar-inverse navbar-toggleable-md fixed-top"&gt;
  
              &lt;button id="nav-btn"class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarDiv"  aria-expanded="false" aria-label="Toggle navigation"&gt;
                  &lt;span class="navbar-toggler-icon"&gt;&lt;/span&gt;
              &lt;/button&gt;
  
              &lt;div class="container"&gt;
                  &lt;a class="navbar-brand" href="#"&gt;&lt;img src="Images/logo.png" width="60px"&gt;&lt;/a&gt;
                      &lt;div class="collapse navbar-collapse" id="navbarDiv"&gt;
                          &lt;ul class="navbar-nav mr-auto"&gt;
                              &lt;li class="nav-item"&gt;                     
                                  &lt;a class="nav-link" href="#home" &gt;Home &lt;span class="sr-only"&gt;(current)&lt;/span&gt;&lt;/a&gt;                         
                              &lt;/li&gt;                       
                              &lt;li class="nav-item"&gt;                         
                                  &lt;a class="nav-link" href="#about-us"&gt;About&lt;/a&gt;                        
                              &lt;/li&gt;                       
                              &lt;li class="nav-item"&gt;                         
                                  &lt;a class="nav-link" href="#pricing"&gt;Pricing&lt;/a&gt;                       
                              &lt;/li&gt;                       
                          &lt;/ul&gt;           
                      &lt;/div&gt;                  
              &lt;/div&gt;              
          &lt;/nav&gt;
  </code></pre>