Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

CSS files in an Application

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi

I am planning to write a CSS file , which is specific to my Module , which is consisting of 10 screens .

Is it good to have a Module per css or Application per css ??

Please share your ideas .
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most sites will do a common css file that will have the core css in it. Means the styles that every page will use will be in there.

Some people create on CSS file for the other site, some will do the common css with individual files for the other pages.

It comes down to preference and file size.

Eric
 
Let's get him boys! We'll make him read this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!