jquery 使用animate来改变高度自动添加样式overflow:hidden的问题

Another way is to declare the element as !important in css.

For example.

.somediv { overflow: visible !important;}



总结:jQuery.animate sets overflow:hidden as an inline style. Inline styles always take precedence over the !important flag
posted @ 2014-05-26 17:48  志在,道在  阅读(2057)  评论(0编辑  收藏  举报