Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<style>
@keyframes --anim {
from {
width: calc(10px * sibling-index());
}
to {
width: calc(50px);
}
}
#target {
animation: --anim 2s;
}
</style>
<p>Pass if no crash</p>
<div id="target"></div>