L
L
lavrik_andrey2019-03-10 11:06:11
css
lavrik_andrey, 2019-03-10 11:06:11

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

1 answer(s)
J
Jupiter Max, 2019-03-10
@vardoLP

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 question

Ask a Question

731 491 924 answers to any question