From e40f95d4f9e80f73e014f7b46ef67029dc158f02 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Tue, 19 Nov 2024 14:46:50 +0000 Subject: [PATCH] wording --- docs/tutorial.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/tutorial.md b/docs/tutorial.md index 9ee8b4e9e8..3d785b3f11 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -352,8 +352,9 @@ Some of the new styles have more than one selector separated by a space. The spa } ``` -The `.started` selector matches any widget with a `"started"` CSS class. While `#start` matches a child widget with an ID of `"start"`. -When combined with a space, the the selector will match the start button *only* if it is inside a container with a CSS class of "started". +The `.started` selector matches any widget with a `"started"` CSS class. +While `#start` matches a child widget with an ID of `"start"`. +Combining the two selectors with a space (`.started #start`) creates a new selector that will match the start button *only* if it is also inside a container with a CSS class of "started". As before, the `display: none` rule will cause any matching widgets to be hidden from view.