提 提及 2018-11-07 12:20 $("[dui]").animate({ opacity: '0' }); // $("[dui]").fadeOut(500,function() { // // $(this).remove(); // abeer(); // });或许不应该使用 fadeOut 提 提及 2018-11-07 12:24 布局不应该是不改变的吗fadeOut 不就会导致行列效消失吗还是说就该这样?????? 提 提及 2018-11-07 12:25 v(???) 提 提及 2018-11-07 12:26 无语留言版不支持utf-8 ?? 全是问号 西 西瓜 2018-11-07 12:45 td中包含了span,消失的只是span,td是外框布局不会有影响。 提 提及 2018-11-07 21:22 table td{padding:0;} .pai{width:25px;height:50px}使用 jQ fadeOut,其本质是使用 display,display是不占地的。而且 table td 没有 width height,所以不就是会消失吗?可能需要这样*{ box-sizing: border-box; } .pai{width:100%;height:100%} table td{width: 25px; height: 50px;}当然也可以这样设计那样 ^_^ 西 西瓜 2018-11-07 22:16 这是因为td这一列或一行只要有一个存在,就会被自动撑开,你把整行或整列消除,布局就会改变。
$("[dui]").animate({ opacity: '0' }); // $("[dui]").fadeOut(500,function() { // // $(this).remove(); // abeer(); // });或许不应该使用 fadeOut