R
R
Roman Valeev2020-08-20 09:00:46
Joomla
Roman Valeev, 2020-08-20 09:00:46

Is it possible to write CSS styles for a website in one file?

I am making my first Joomla site. Of course, I use the functionality of the site, modules, components, etc.
Each module, component has its own folders that store files with php, css, html, js code.
The template I'm creating is the same. For him, I prescribe the styles in the template.css file.

When I add a module to a template, it already has its own styles that need to be tweaked.
Question: Is it correct to edit the styles of modules or components in the template.css template file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
approximate solution, 2020-08-20
@ThisNickIsNotBusy

If this is a training project, and the code is not passed down the development line, you can write whatever you like. The main thing is to follow the basic principles of writing CSS - for example, such as DRY.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question