-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document -global-
prefix for global CSS Animations
#3352
Comments
This was added way back in #607 by prefixing the animation name with |
Cool, thanks! Should this issue stay open as a reminder to document? Otherwise, feel free to close. |
Yeah I gave this the 'docs' label because I want to use this to remind us to document it |
dcrck
changed the title
Support :global tag for CSS Animations
Document Aug 4, 2019
-global-
prefix for global CSS Animations
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
When working with Google Maps, you create custom Markers with a
createMarker
function which takes in the marker's HTML as a string. That means if you want to apply styles or transitions to it, you need to use the:global
tag in Svelte. I'd like to apply small animations to the markers on certain conditions, but it appears that I can't apply a CSS animation (e.g.@keyframes animation_name {...}
in the Svelte component using the:global
tag. When I tried, Svelte yelled at me with anExpected Identifier
error.I'd like this functionality to be enabled if possible. It's not super-critical since I can just put the css animation in my
global.css
file, and it's a very uncommon use case, but it would be nice 😄 .The text was updated successfully, but these errors were encountered: