这是一个问题的示例:
以下是该示例的标记(因为从jsfiddle复制+粘贴,所以脚本标记等缺失):
tr
{
visibility:hidden;
background-color:#cccccc;
}
<table>
<thead>
<th style='width:100px'>Bibble</th>
<th style='width:100px'>Fish</th>
</thead>
<tbody>
<tr>
<td>Some data!</td>
<td>Some more data!</td>
</tr>
</tbody>
</table>
$(document).ready(function()
{
$('tr').css('visibility', 'visible').css('opacity', 0).animate({ opacity: 1 }, 2000);
});
如果我将透明度动画到0.9999,这是可以的。当透明度达到1时发生了什么,我该如何解决?