title: How to set styles for different headlines (h1, h2, ...) in CSS?
body: <p>I would like to have two different styles for the h1, h2, h3 etc.</p>
  
  <p>I tried using classes for the styles like this:</p>
  
  <pre><code>.version-one{
  h1{
      ...
  }
  h2{
      ...
  }
  }
  </code></pre>
  
  <p>And then in the html:</p>
  
  <pre><code>&lt;h1 class="version-one"&gt;Title&lt;/h1&gt;
  </code></pre>
  
  <p>But this did not work. Is there a way to do this?</p>
  
  <p>Thank you very much :)</p>