There are many ways to structure your exterenal CSS rules. What I do
is place style style rules inline, separating each block with line spaces:
Some people will do this:
Also, you can group each selector by their function. For example,
you can group navigation elements together, followed by typography, etc.
What I do is simply list them according to source code placement.
How do you all do yours?
is place style style rules inline, separating each block with line spaces:
Code:
div ul {list-style: none; margin: 1em 0;}
p ul li {display: inline; color: #000;}
Code:
div ul {
list-style: none;
margin: 1em 0;
}
p ul li {
display: inline;
color: #000;
}
you can group navigation elements together, followed by typography, etc.
What I do is simply list them according to source code placement.
How do you all do yours?