title: Select DOM nodes by their font-size in JavaScript
body: <p>I have a html content with different styles. I need to find the node using <code>font-size</code>. For example, find nodes which had <code>font-size: 10pt</code>.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.classname1 {
    color: red;
    font-size: 10pt;
  }
  
  .classname2 {
    color: red;
    font-size: 11pt;
  }
  
  .classname3 {
    color: red;
    font-size: 12pt;
  }
  
  .classname4 {
    color: green;
    font-size: 10pt;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;p&gt;Hello &lt;span class="classname1"&gt;world!&lt;/span&gt;&lt;/p&gt;
  &lt;p&gt;Hello &lt;span class="classname2"&gt;Paul&lt;/span&gt;&lt;/p&gt;
  &lt;p&gt;Hello &lt;span class="classname3"&gt;raj&lt;/span&gt;&lt;/p&gt;
  &lt;p&gt;Hello &lt;span class="classname4"&gt;moon&lt;/span&gt;&lt;/p&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>In this code I need to find a node with style <code>font-size: 10pt</code>.</p>