concept list in category css

This is an excerpt from Manning's book Sass and Compass in Action.
This form will mix in the singular no-bullet mixin for every <li> in the list. Now that you’ve seen how to add some pop to your lists with custom bullets and remove bullets entirely, let’s look at how to teach your lists to lie flat and play dead.
Lists are the sequences of values that are used for compound properties like border or background. For example, 1px solid black is a list of three values that you might use for the border property. Values in lists can be separated by either spaces, as in this example, or commas, as in font, font, font.
Precisely speaking, lists in Sass must contain more than one item. But individual values count as lists containing a single item for everything that cares about lists, including list functions and control directives like @each, which we’ll cover later in this chapter.
The @each directive, like @for, repeats a chunk of styles multiple times. But instead of just counting, @each uses the chunk for each item in a list. The syntax is @each $item in foo, bar, baz { ... }, and it assigns $item to each of foo, bar, and baz, in turn. The following example uses @each to style a link for each section of a website:
@each $section in home, about, archive, projects { nav .#{$section} { background-image: url(/images/nav/#{$section}.png); } }The list for @each can be space-separated as well as comma-separated, although comma-separated lists tend to be easier to read. It can also be a list in a variable, or even a variable containing some other type of value (since nonlist values count as single-element lists).