I'm trying to create a dynamic cssFile.php which retrieves content from DataBase. with this framework i should be able to change some global css properties and some other properties like Positioning and Resizing them using html form, but i dont know how to structure data in database and even how to create a good layout. should database table be like:
+-------+------------+---
| color | background | ...
+-------+------------+---
| red | #fff |
+-------+------------+---
OR like this:
+--------+----------+-------+
| class | property | value |
+--------+----------+-------+
| .class | color | red |
+--------+----------+-------+