summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/animations/background-color-animation-with-table2.html
blob: 5fc03b3d92b864c641a72ef312b348f06137cf88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#background-color">
<link rel="match" href="background-color-animation-with-table1-ref.html">
<style>
table {
  width: 160px;
}
.firstcolumn {
  animation: bgcolor 100s;
}
@keyframes bgcolor {
  0% { background-color: rgba(0, 200, 0, 0); }
  100% { background-color: rgba(200, 0, 0, 0); }
}
</style>
<table>
  <colgroup>
    <col class="firstcolumn">
  </colgroup>
  <tr><td>1</td></tr>
  <tr><td>2</td></tr>
</table>