Dec 14th, 2011, 07:17 PM
Breaking the ccs files into smaller files
Being relatively new to css, I am finding it difficult to maintain, change and add to the css files standard.css and alt.css.
So I thought it would be easier if I broke it apart to different css files for each section of the web pages, and I could just import each sections stylesheet in the .jspx pages for each section to make it a clean separation of concerns. But I am finding it a little difficult to figure out where to make the changes to use my set of 5 .css files instead of just one.
I noticed the tag util:load-scripts, which loads a .properties file which has the .css file listed in it and changed it to have my 5 .css files. Is this what would work?
Is breaking it apart a good practice. I find it easier to keep my head around my styles.
Dec 14th, 2011, 07:54 PM
I figured it out, I can use the @import url(''); inside the standard.css file and import the other 5 files and keep the standard.properties file the way it was.