Re:Ask HN: Anyone have a really smart way to organize css?
by wordchute on Wednesday April 06, 2011 @08:34PM
(#2417684)
I typically generate css with php, usually in the header but sometimes in a linked file. Using this method I can easily alter site wide color or fonts, etc or feed the style atrributes from a database. This method also allows me to create blocks of css for different page elements and include them as needed - forms, menus, etc - or dynamically include definitions when conditions are met. This offers a lot of flexibility in terms of organizing and making changes to the css.
[ Parent
| on HN ]
There are no comments on this comment yet.