我正在修改主题以使用 RTL。 在画廊页面上,可能通过同位素将某些内联样式添加到元素中,因为您可以按图片的类型过滤图片。
html 源代码
<div class="met_recent_work col-sm-4 branding">
在浏览器中生成的 html
<div class="met_recent_work col-sm-4 webdesign isotope-item" style="position: absolute; left: 0px; top: 0px; transform: translate3d(0px, 0px, 0px);">
如何修改这些属性?
最佳答案
为此使用 jquery
-
$('.met_recent_work').css('position', 'relative');
关于javascript - 修改jquery isotope添加的内联样式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30137423/