I need to create a dowloadable css file depending on variables changed on the front end.
Note: this is shortened example.
CSS:
.color: red; width: incrementvalue();
In html id have an inout field to adjust the width, example:
HTML
<input type="text" value="3">
Id then have a function that would run on change of the input that would do the following:
$('input').on ('change', function (){return $(this).val () * 2});
Yes the above function is in jquery but I dont really know php and im told this should be done in php.
Any ideas?