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.
例如,我想选择所有具有 text-align=left 的元素,是否有任何插件可以做到这一点?
$('div').filter(function() { return $(this).css('text-align') == 'left'; });
css3 属性选择器:$('[text-align=left]')
$('[text-align=left]')
我发现这个插件可以完成这项工作
$("li:css(text-align,left)").remove () ;
https://github.com/sam12github/JCSS