diff --git a/Markdown/TheOdinProjectNotes.md b/Markdown/TheOdinProjectNotes.md index f5e3d5d..fe1ad3b 100644 --- a/Markdown/TheOdinProjectNotes.md +++ b/Markdown/TheOdinProjectNotes.md @@ -469,7 +469,7 @@ div { } ``` - Notice how a class is chained to an ID by using their respective syntax of `.class#ID` - - Note: Does not work for chaining more than one type of selector + - > Note: Does not work for chaining more than one type of selector - It is also dependent on the type of element - Ex: `
` can't be chained to `

` because it would create `` and it doesn't exist as an element #### Descendant Combinator @@ -619,4 +619,6 @@ img { ``` - In the example above, **rule 2 would take priority** because it is more specific - Because they both contain `#subsection`, rule2 `color: red;` takes priority with rule1 `background-color: yellow;` because there is no conflict for `background-color` -> Note: When comparing selectors, you may come across special symbols for the universal selector(`*`) \ No newline at end of file +- > Note: When comparing selectors, you may come across special symbols for the universal selector(`*`) as well as combinators (`+`, `~`, `>`, and an empty space). These symbols do not add any specificity to the elements + +- \ No newline at end of file