Verification: a143cc29221c9be0

Php class css utf 8

Содержание

PHP Stylesheet

Add a new file to your theme, call it "dynamic_styles.php" or the like. Note that while it will contain mostly CSS, you give it a .php file extension.
This tells the server to parse the file with the PHP interpreter before serving it to the client.

In the first lines of the new file you set the content-type to "css":

Thereafter grab the values like you normally would (going with your above example):

Now use these in your later CSS as you would with HTML markup:

 div.cat-1 {
    border-bottom-color: ;
 }