From 19a17b548a3a60a673301c2bee67af3472de0e2a Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Tue, 15 May 2018 22:25:11 -0400 Subject: [PATCH] advanced selectors --- .../1. ADVANCED_SELECTORS.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/5. Responsive Design and Advanced Selectors/1. ADVANCED_SELECTORS.md b/5. Responsive Design and Advanced Selectors/1. ADVANCED_SELECTORS.md index f6d1fbf..3709998 100644 --- a/5. Responsive Design and Advanced Selectors/1. ADVANCED_SELECTORS.md +++ b/5. Responsive Design and Advanced Selectors/1. ADVANCED_SELECTORS.md @@ -13,7 +13,7 @@ Advanced selectors help eliminate extra classes. They provide no new functional ### Family Selectors -- * +- `*` - selects everything - useful for when you want to style everything. Can add an optional ancestor for more specificity @@ -25,7 +25,7 @@ Advanced selectors help eliminate extra classes. They provide no new functional content ``` -- > +- `>` - selects an immediate child - if you want to add styling to just a child, but the parent has descendants that are similar to child @@ -39,7 +39,7 @@ Advanced selectors help eliminate extra classes. They provide no new functional ``` -- ~ +- `~` - sibling selector - only selects subsequent siblings, not preceding siblings @@ -51,7 +51,7 @@ Advanced selectors help eliminate extra classes. They provide no new functional

paragraph

``` -- + +- `+` - immediate sibling selector - only selects first sibling