clarify that postcss is needed for :global(...)

pull/6101/head
Cassidy Bandy 6 years ago
parent ce3a579125
commit e5a88643d1
No known key found for this signature in database
GPG Key ID: D0B6E279DFA975D7

@ -264,6 +264,9 @@ This works by adding a class to affected elements, which is based on a hash of t
To apply styles to a selector globally, use the `:global(...)` modifier.
> Svelte uses [PostCSS](https://postcss.org/) to process global styles. It needs
to be added as a dependency for this modifier to work.
```sv
<style>
:global(body) {

Loading…
Cancel
Save