您的位置:首页 > Web前端 > JQuery

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

2014-05-26 17:48 489 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐