mirror of
https://github.com/sveltejs/svelte.git
synced 2024-12-01 17:30:59 +01:00
17 lines
269 B
HTML
17 lines
269 B
HTML
<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> |