嗨我想通过点击一个按钮在2秒内平稳过渡将HTML表格的高度从690更改为400。有没有办法在纯CSS中做到这一点?这里是我的例子:如何在点击链接时更改HTML表格的高度?
<html>
<head>
<title>Test</title>
</head>
<body>
<table>
<tr>
<td>
<button type="button">Click Me!</button>
</td>
</tr>
<tr>
<td height="690" width="1280> <--- This cell needs it height to change to 400px when the button is clicked.
Cell 1
</td>
</tr>
</table>
</body>
</html>
哇,这个工作gre在,谢谢!有没有办法让它平稳移动,就像过渡一样? – william44isme 2013-02-16 08:34:17