| Start |
|---|
| Property Lists Some properties can take multiple values, collectively known as a property list. |
| Rules, Selectors, and Declaration Blocks A CSS rule consists of a selector (e.g. |
| Multiple Selectors When you group CSS selectors, you apply the same styles to several different elements without repeating the styles in your style sheet. Use a comma to separate multiple grouped selectors. So the blue color applies to all This also applies to all types of selectors. This rule applies to:
RemarksFor ease of readability, keep all declarations indented one level from their selector, and the closing curly brace on its own line. Add a single space after selectors and colons, and always place a semicolon after the final declaration. GoodBadOne-LinerIf there are only one or two declarations, you might get away with this one. Not recommended for most cases. Always be consistent when possible. |
Read Article
https://develop.horje.com/learn/1434/reference