---
title: Global styles
---
## :global(...)
To apply styles to a single selector globally, use the `:global(...)` modifier:
```svelte
```
If you want to make @keyframes that are accessible globally, you need to prepend your keyframe names with `-global-`.
The `-global-` part will be removed when compiled, and the keyframe will then be referenced using just `my-animation-name` elsewhere in your code.
```svelte
```
## :global
To apply styles to a group of selectors globally, create a `:global {...}` block:
```svelte
```
> [!NOTE] The second example above could also be written as an equivalent `.a :global .b .c .d` selector, where everything after the `:global` is unscoped, though the nested form is preferred.