title: CSS inheritance, or something like that
body: <p>This is probably silly question, but here it goes.</p>
  
  <p>I have 3 ID in my css file, and they all have some same code. For example:</p>
  
  <pre><code>#ID1 {
      // some code
      width: 300px;
      height: 300px;
  }    
  #ID2 {
      // some code
      width: 300px;
      height: 300px;
  }    
  #ID3 {
      // some code
      width: 300px;
      height: 300px;
  }
  </code></pre>
  
  <p>MY question is: is is possible to make some class or ID in CSS and call it inside another CSS class or ID. For example:</p>
  
  <pre><code>#setting {
      width: 300px;
      height: 300px;
  }
  #ID1 {
      .setting        
      // some code
  }    
  #ID2 {
      .setting  
      // some code
  }    
  #ID3 {
      .setting  
      // some code
  }
  </code></pre>
  
  <p>Thanks.</p>