title: Can a CSS class inherit one or more other classes?
body: <p>Is it possible to make a CSS class that &quot;inherits&quot; from another CSS class (or more than one).</p>
  <p>For example, say we had:</p>
  <pre class="lang-css prettyprint-override"><code>.something { display:inline }
  .else      { background:red }
  </code></pre>
  <p>What I'd like to do is something like this:</p>
  <pre class="lang-css prettyprint-override"><code>.composite 
  {
     .something;
     .else
  }
  </code></pre>
  <p>where the &quot;.composite&quot; class would both display inline and have a red background</p>