Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Affects. Each file is an additional request.
But spreading styles across files makes it easier to follow and edit them.
What to do? Correctly. Scatter over files and work with them. And when uploading to the server, pass through the project collector (for example, gulp), which will combine all css files into one, and also compress them
Это зависит от вашего уровня знаний и умений.
Сначала вы будете делать CSS-стили внутри HTML-файла.
Потом вы будете делать отдельный файл .CSS.
Потом вы подключите CSS-помогайки, например, reset.css и у вас будет несколько CSS. Я сейчас именно на этом этапе.
Потом вы начнёте использовать сборщики.
Потом вы будете всё это разумно комбинировать.
Удачи.
will not reduce
css and js must be separated. for each template - its own css and js,
very common styles and scripts - we take it out to common.css and common.js,
if you don’t separate it, then you won’t understand this chaos
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question