mirror of https://github.com/sveltejs/svelte
12 lines
158 B
12 lines
158 B
8 years ago
|
<div class='animated'>animated</div>
|
||
|
|
||
|
<style>
|
||
|
@keyframes why {
|
||
|
from { color: red; }
|
||
|
to { color: blue; }
|
||
|
}
|
||
|
|
||
|
.animated {
|
||
|
animation: why 2s;
|
||
|
}
|
||
|
</style>
|