title: JS / jQuery : Variable .css() propertyName
body: <p>How can I store property name as a variable?</p>
  
  <p><strong>Example code:</strong></p>
  
  <pre><code>var propertyName = 'margin-top';
  $('elem').css({ propertyName : '10px' });
  </code></pre>