How to implement styles on the page?

Picking lessons on CSS, and often the same properties of type, such as font selection... that's interested, and you're all commonly used, repetitive work to replace the variables once to register in the header of the short values of the variables and then quickly expose them in properties... the question is how best to implement this? or is it all bullshit?)
Google offers is basically how to make style.php:
<?php
header("Content-type: text/css");
$a=#00FFCC;
?>
// here is the CSS

But then includethe need before the html tag, for the title... and correctly is to declare the styles are in the head? and where XS?)
there is the idea to do so:
<?php
$a=#00FFCC;
?>
<style type="text/css">
// here is the CSS
</style>

and includethe обычноv it in place...
5 years was not engaged in the programming, maybe it's time there was something more.. so I want to hear your opinion on all the above stated...
March 19th 20 at 08:33
1 answer
March 19th 20 at 08:35
Solution
all up to us
https://sass-scss.ru/

$font-stack: Helvetica, sans-serif;
$primary-color: #333;

body {
 font: 100% $font-stack;
 color: $primary-color;
}


well, gulp for compilation/minification/cross-browser
https://gulpjs.com/
Well, the industry for 5 years usagara far away) and I with bikes from the past)) thank you for referring) is being developed for the new, will come with stupid questions))
And the syntax convenient)) - oda commented on March 19th 20 at 08:38

Find more questions by tags HTMLCSSPHP