Is this a good idea to serve a css file by php ?
Actually I have a large CSS file which include all media query so I thought to serve only selected section based on the argument passed to the php page Eg In my original php page I will do like this
<link rel="stylesheet" type="text/css" href="css.php?<?= "theam=".$theam ."&screen=".$screen ?>"/>
and in the css.php file I will check the condition to give response with only required css is this the correct Way ?