You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/css/samples/global-keyframes/input.svelte

17 lines
269 B

<div class='animated'>animated</div>
<div class='also-animated'>also animated</div>
<style>
@keyframes -global-why {
0% { color: red; }
100% { color: blue; }
}
.animated {
animation: why 2s;
}
.also-animated {
animation: not-defined-here 2s;
}
</style>