title: How to effect classes starting with common classes?
body: <p>I have so many classes starting with test that are like test-1,test-2,test-3 etc and under that class div anchor link with class as work. How can effect with css. Below is my work around.</p>
  
  <pre><code>&lt;div class="test-1"&gt;&lt;a class="work"&gt;test content&lt;/a&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Above is code: and tried with below css. Not working.</p>
  
  <pre><code>div[class^="test-"] a.work {float:left;clear:both;}
  </code></pre>