重要,请参见下面的jQuery的:如何使用jQuery的动画()函数
我真的想知道我怎么可以在这个代码中使用CSS !important
为height
。
$j('#lveis-wrapper_3').animate({
opacity: 0.0,
height : 200
}, 1200);
的#lveis-wrapper_3
的CSS低于:
#lveis-wrapper_3
{
width: 844px !important;
height: 936px !important;
margin: 0pt 0pt 10px !important;
padding: 0pt !important;
float: none;
}
我无法从height: 936px
出于某些原因删除!important
...
所以我想改变这种height
通过animate()
jQuery的功能 - 但如何?
唉,所有这些'important' ......一定有办法重新组织你的代码... – elclanrs 2012-03-29 18:32:10
@! elclanrs感谢评论:) – MoonLight 2012-03-29 18:41:05