<!DOCTYPE html>
<title>Example</title>
<style>
table td {
font: bold 2em sans-serif;
color: white;
height: 250px;
background: gold;
padding: 10px;
vertical-align: top;
}
.animated {
animation: myAnimation 3s linear 1s 3 alternate forwards;
@keyframes myAnimation {
50% {
vertical-align: middle;
100% {
vertical-align: bottom;
</style>
<table>
<tr>
<td>Static</td>
<td class="animated">Animated</td>
</tr>
</table>