blob: b35050c45bec1715f478eee3c075a1b998c5f924 [file] [log] [blame]
<style>
@keyframes anim {
from { color:red; }
to { color:green; }
}
.flex { display:flex; }
.host::before { display:inline-block; content:'On the same'; }
.host::after { display:inline-block; content:'line'; animation-duration:0s; animation-name:anim; animation-fill-mode:forwards; }
</style>
<div class=flex>
<div class=host> </div>
</div>