title: Change element attributes by scroll location
body: <p>I need to reduce the <code>top</code> property on an element as a user scrolls down my web page, so that the top equals <code>0</code> when the user is around <code>250px</code> down the web page. Currently, I have to work with this css:</p>
  
  <p>
  
  <pre><code>[data-label="label1"] {
      left: 0;
      position: fixed;
      top: 89px;
   }
  </code></pre>
  
  <p>When the browser reaches <code>250px</code> I want the <code>top</code> to equal <code>0px</code>. How can I write this with jQuery?</p>
  
  <p>Thanks for your ideas.</p>