Notes
CSS GROUPING AND NESTING
Content of the notes (1)
Page 1
You can simply separate selectors with commas in one line and apply the same properties to them all so, making the above:
h2, .thisOtherClass, .yetAnotherClass {
color: red;
}
PSEUDO ELEMENTS
p::first-line
{
color: #ff0000;
font-variant: small-caps;
}
Information
- Description
- Note on CSS GROUPING AND NESTING, created by Emerson Romano on 03/12/2015.
- Created by
- Emerson Romano
- Views
- 0
- Tags
- Rating