Created
August 7, 2019 20:41
-
-
Save emmabostian/f36cc8ff29b79b1392953efbc92f55ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Descendant selector: You can use a space to denote a descendant selector. This matches all elements which are descendants of a specified element. | |
Child selector: Use a greater than symbol (>) to select all elements that are immediate children of a specified element. | |
Adjacent sibling selector: Use a plus sign (+) to select all elements that are adjacent siblings of a specified element. They must have the same parent and immediately follow this element. | |
General sibling selector: Use a tilde (~) to select all elements that are siblings of an element. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment