Announcement Announcement Module
Collapse
No announcement yet.
Breaking the ccs files into smaller files Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

    Thanks

    Mark

  • #2
    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.

    Thanks

    Mark

    Comment

    Working...
    X