From 07763a54d27b60103c476b4ef1f9bdf61eb64075 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Wed, 8 Jan 2020 17:17:53 -0500 Subject: [PATCH] adjustments --- site/content/docs/01-component-format.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/site/content/docs/01-component-format.md b/site/content/docs/01-component-format.md index da0c37807b..e541292e13 100644 --- a/site/content/docs/01-component-format.md +++ b/site/content/docs/01-component-format.md @@ -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 ``` - -The `-global-` part will be removed when compiled and the keyframe then be referenced using just `my-animation-name` elsewhere in your code.