svelte/test/css/samples/keyframes-from-to/input.svelte

12 lines
158 B

<div class='animated'>animated</div>
<style>
@keyframes why {
from { color: red; }
to { color: blue; }
}
.animated {
animation: why 2s;
}
</style>