From 2a82f1c152b14920f81656b9d99c1ad44ce15d68 Mon Sep 17 00:00:00 2001 From: Fie <40601523+Zkaij@users.noreply.github.com> Date: Thu, 5 Jan 2023 11:52:45 -0500 Subject: [PATCH] Update parent-selectors.md Minor fix of inline code block. --- content/features/parent-selectors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/features/parent-selectors.md b/content/features/parent-selectors.md index 67a7a826..0f321ce9 100644 --- a/content/features/parent-selectors.md +++ b/content/features/parent-selectors.md @@ -23,7 +23,7 @@ a:hover { } ``` -Notice that without the `&`, the above example would result in `a :hover` rule (a descendant selector that matches hovered elements inside of `` tags) and this is not what we typically would want with the nested `:hover`. +Notice that without the `&`, the above example would result in a `:hover` rule (a descendant selector that matches hovered elements inside of `` tags) and this is not what we typically would want with the nested `:hover`. The "parent selectors" operator has a variety of uses. Basically any time you need the selectors of the nested rules to be combined in other ways than the default. For example another typical use of the `&` is to produce repetitive class names: