The above means that you apply styles to two classes, indicated by a comma.
When you see two elements side by side that are not separated, you can assume that this refers to the area inside the area. Thus, in the example above, this style applies only to the grid_6 classes inside the container_12 classes and the grid_8 classes inside the container_16 classes.
in the example:
<div class="grid_6">This is not effected</div> <div class="container_12"> <div class="grid_6"> This is effected. </div> </div>
The first grid_6 will not execute until the second grid_6 class is because it is contained inside container_12.
Type operator
#admin .description p { font-weight:bold; }
Would apply bold to tags
in areas where there is a "description" of the class that are inside the area with the identifier "admin", for example:
<div id="admin"> <div class="description"> <p>This is bold</p> </div> </div>
clumsyfingers Jul 27 '10 at 13:54 2010-07-27 13:54
source share