adjustments

pull/4232/head
Conduitry 6 years ago
parent 2713fc4e4e
commit 07763a54d2

@ -256,12 +256,12 @@ To apply styles to a selector globally, use the `:global(...)` modifier.
---
If you want to make @keyframes that are accesible globally you need to prepend your keyframe names with `-global-`.
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 then be referenced using just `my-animation-name` elsewhere in your code.
```html
<style>
@keyframes -global-my-animation-name {...}
</style>
```
The `-global-` part will be removed when compiled and the keyframe then be referenced using just `my-animation-name` elsewhere in your code.

Loading…
Cancel
Save