title: How to get CSS class property in Javascript?
body: <pre><code>.test {
      width:80px;
      height:50px;
      background-color:#808080;
      margin:20px;
  }
  </code></pre>
  
  <p>HTML - </p>
  
  <pre><code>&lt;div class="test"&gt;Click Here&lt;/div&gt;
  </code></pre>
  
  <p>In JavaScript i want to get <code>margin:20px</code></p>