Answer the question
In order to leave comments, you need to log in
How to properly organize code and files (frontend)?
Hey!
Suppose there is a medium-sized information site. On each page there are elements that are the same and repeat on each page, and there are also elements that are individual and do not repeat.
How to properly organize css code? Should I connect a css file with common styles and one file with individual styles to each page?
thanks in advance
Answer the question
In order to leave comments, you need to log in
well, if you do not compile them into one, then write everything in one file. And if you still use some kind of compiler, then you can decompose it into files, but this is purely for convenience, if another workbench will work with styles.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question