Re:Mincss "clears the junk out of your CSS"
by bowmessage on Tuesday January 22, 2013 @02:00AM
(#5095950)
What about a program into which you could feed your pre-processed dynamic documents (php, asp, etc) along with the CSS? I could see myself using that.
[ Parent
| on HN ]
Re:Mincss "clears the junk out of your CSS"
by laurencei on Tuesday January 22, 2013 @02:03AM
(#5095961)
The problem is there are often too many variables, i.e. what if a username is "blue" for a boy, "red" for a girl (or something like that).
And PHP etc is too dynamic.
Personally I think the 'best' option is a program which 'records' you using the site, and as a Dev I could use my site for like 30mins, touching each point of key functionality. Then at the end, review what sections of CSS were never used, and pick and choose what to discard based upon that (i.e. I can manually then check for fringe cases I might know of).