Too vague. Do you mean CSS variables. @variables { CorporateLogoBGColor: #fe8d12; } div.logoContainer { background-color: var(CorporateLogoBGColor); } Code (markup): or actual PHP variables. <?php header("Content-type: text/css"); $color = "green"; echo <<<CSS h2 { color: $color; /* <--- use the variable */ font-weight: bold; font-size: 1.2em; text-align: left; } CSS; ?> PHP:
Yeah but be careful with CSS variables, not many people know about them (as I can tell from your reactions) and normally they need to be stored in .cssp files. It's worth having a look into it though, just a Google search can do. Dan