title: how can I use of a php variable into a .css file
body: <p>I have a css file named <code>test.css</code> and I want to use into it of <code>$var</code>.<code>$var</code> is at <code>test.php</code>. <code>test.css</code> is attached in <code>test.php</code>. My structure is something like this:</p>
  
  <pre><code>//test.php
  
  &lt;html&gt;
  &lt;head&gt;
  &lt;?php $var = 'anything';?&gt;
  &lt;link href="test.css" rel="stylesheet" type="text/css" /&gt;
  &lt;/head&gt;
  &lt;body&gt;&lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>and this is test.css:</p>
  
  <pre><code>// test.css
  
  .&lt;?php echo $var&gt; { // css property }
  </code></pre>
  
  <p>Currently <code>test.css</code> does not work. In fact, I want to knoe how can I use of a php variable as a class name into a css file ?</p>