Skip to content

Commit 684cf4e

Browse files
committed
docs
1 parent 78fd540 commit 684cf4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/CSS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ If we were to add other selectors for additional screens or widgets, it would be
587587

588588
### Why use nesting?
589589

590-
There is no requirement to use nested CSS, but it can help to group related rule sets together (which makes it easier to edit). Nested CSS can also help you avoid some repetition in your selectors, i.e. in the nested CSS we only need to type `#questions` once, rather than four times in the non-nested CSS.
590+
There is no requirement to use nested CSS, but grouping related rules together avoids repetition (in the nested CSS we only need to type `#questions` once, rather than four times in the non-nested CSS).
591591

592592
Nesting CSS will also make rules that are *more* specific.
593593
This is useful if you find your rules are applying to widgets that you didn't intend.

0 commit comments

Comments
 (0)