title: jQuery check CSS color value not working
body: <p>I'm using jQuery to check if a particular CSS property and value exist. Why doesn't it work? I'm expecting to see the 'yes' log.</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-js lang-js prettyprint-override"><code>$(document).ready(function() {
    if ($('p').css('color') === 'blue') {
      console.log('yes');
    } else {
      console.log('no');
    }
  });</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>p {
    color: blue;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;p&gt;text&lt;/p&gt;</code></pre>
  </div>
  </div>
  </p>