Jump to content

Recommended Posts

Hi All,

 

Right now I am working a project where I want to use a PHP form to ultimately create a CSS file. The idea is that a user can fill in a a form with questions like hex color and fonts, and then that form will process those values into a CSS stylesheet. I know that SASS and LESS do this with Ruby, but I was wondering if there was a way with PHP. Maybe go from PHP to CSS or PHP to SASS to CSS. 

 

If anyone has any recourses, docs or videos, on different methods that would be much appreciated. Again, I'm not even sure if PHP can do this. It is just an idea.

 

Thanks in advance,

Link to comment
https://forums.phpfreaks.com/topic/285813-php-to-sass/
Share on other sites

Thanks for responding

 

That is definitely a method to consider. I guess the difficult part would be structuring the form data into CSS and then turning it into a string. I will look into it.

 

Does anyone else have a suggestion?

Link to comment
https://forums.phpfreaks.com/topic/285813-php-to-sass/#findComment-1467214
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.