Skip to content

Commit

Permalink
wording
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Nov 19, 2024
1 parent 43befce commit e40f95d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit e40f95d

Please sign in to comment.