Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想基本上做到这一点。但它不起作用。
$('.child_flyout:after').css({'top':'20px'});
在 jQuery 中执行此操作的任何解决方法?
也许只是我,但我通常在css中定义psuedo元素并添加类。
.poptop:after { top:20px; } $('.child_flyout').addClass('poptop');