You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorial.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -352,8 +352,9 @@ Some of the new styles have more than one selector separated by a space. The spa
352
352
}
353
353
```
354
354
355
-
The `.started` selector matches any widget with a `"started"` CSS class. While `#start` matches a child widget with an ID of `"start"`.
356
-
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".
355
+
The `.started` selector matches any widget with a `"started"` CSS class.
356
+
While `#start` matches a child widget with an ID of `"start"`.
357
+
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".
357
358
358
359
As before, the `display: none` rule will cause any matching widgets to be hidden from view.
0 commit comments