mirror of
https://github.com/sveltejs/svelte.git
synced 2024-12-01 17:30:59 +01:00
17 lines
261 B
Svelte
17 lines
261 B
Svelte
<div class='animated'>animated</div>
|
|
<div class='also-animated'>also animated</div>
|
|
|
|
<style>
|
|
@keyframes why {
|
|
0% { color: red; }
|
|
100% { color: blue; }
|
|
}
|
|
|
|
.animated {
|
|
animation: why 2s;
|
|
}
|
|
|
|
.also-animated {
|
|
animation: not-defined-here 2s;
|
|
}
|
|
</style> |