Skip to content

Commit ff6a57c

Browse files
committed
tweak docs
1 parent 57af89e commit ff6a57c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation/docs/02-template-syntax/05-styles-and-classes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This works by adding a class to affected elements, which is based on a hash of t
2727

2828
## :global(...)
2929

30-
To apply styles to a single selector globally, use the `:global(...)` modifier.
30+
To apply styles to a single selector globally, use the `:global(...)` modifier:
3131

3232
```svelte
3333
<style>
@@ -65,7 +65,7 @@ The `-global-` part will be removed when compiled, and the keyframe will then be
6565

6666
## :global
6767

68-
To apply all styles after a certain point to a selector globally, use the `:global` modifier.
68+
To apply styles to a group of selectors globally, create a `:global {...}` block:
6969

7070
```svelte
7171
<style>

0 commit comments

Comments
 (0)