I have a few questions about how to layout and organise your CSS files
A) I have many selectors, classes and ID's that all have the following
value:property - font-weight:bold
is it best practice to have
a) multiple selectors, classes and ID's in one line like so with
one value
Simon Levy wrote:
I have a few questions about how to layout and organise your CSS
files
A)
Both, in fact: all, methods are equal. Choose the one that suits you and
seems to be best for maintenance - also by others if you're not the only
one involved.
You can find more best practices
B) What are the advantages/disadvantages of having multiple CSS files
broken down into navigation.css, common.css, main.css, list.css etc
and using the @import
Speaking purely for what I see at my workplace, we often break down the
files into pages rather than main, list etc. This is so
Simon Levy wrote:
I have a few questions about how to layout and organise your CSS files
A) I have many selectors, classes and ID's that all have the following
value:property - font-weight:bold
is it best practice to have
a) multiple selectors, classes and ID's in one line