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
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
转载于:https://www.cnblogs.com/aim-at-is-the-tao-in/p/3753596.html