title: Can I apply a CSS class to another selector in my stylesheet?
body: <p>So say I have a simple document like this:</p>
  <pre class="lang-html prettyprint-override"><code>&lt;head&gt;
      &lt;style&gt;
          .font-regular {
              font-family: sans-serif;
          }
      &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;p&gt;Lorem ipsum...&lt;/p&gt;
      &lt;p&gt;Blah blah...&lt;/p&gt;
      &lt;p&gt;Sample text...&lt;/p&gt;
      &lt;p&gt;Ignore this...&lt;/p&gt;
      &lt;p&gt;The quick brown fox...&lt;/p&gt;
  &lt;/body&gt;
  </code></pre>
  <p>I want to apply the <code>.font-regular</code> class to every <code>p</code> element, without having to type <code>class=&quot;font-regular&quot;</code> into each element. I also can't just do <code>p {font-family: sans-serif;}</code> as I am using the <code>.font-regular</code> class to control other elements from one central point.</p>
  <p>So, is it possible to give all <code>p</code> tags the <code>.font-regular</code> class in the stylesheet directly?</p>
  <p>Any help would be much appreciated.</p>