title: change h1 color in css based on div class with space in it
body: <p>I am currently trying to change the color of a title by referencing a div's class.</p>
  
  <p>So far I have tried:</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>.pagetitle-title.heading {
    color: purple;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="container"&gt;
    &lt;h1 class="pagetitle-title heading"&gt;IT•ONE Method&lt;/h1&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>And even:</p>
  
  <pre><code>h1 {
    color: purple; 
  }
  </code></pre>