I try to make dynamic CSS using PHP.
Example on font-family
$one = 'Times New Roman, Times, serif';
$two = 'Lucida Sans Unicode, Lucida Grande, sans-serif';
On style.php
body { font-family:<?php echo $two; ?>; }
Here I want to add a single quote or double quote to the Lucida Sans Unicode, Lucida Grande
So the ouput should be
body { font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif; }
Let me know how to replace the font with a quote
A bit more functional 🙂