我在 Chrome 开发人员工具窗口的“样式”选项卡中看到了这个 css 代码:
element.style {
height: auto;
width: 100%;
margin-top: -148px;
}
我想用我的 .css 文件中的这个 css 代码覆盖它:
.so-widget-sow-simple-masonry-simple-masonry-d75171398898 .sow-masonry-grid-item img {
width: auto;
height: 244px;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
}
但是 的样式定义element.style
已经存在。我找不到 .js 这么快。有人能帮我吗?谢谢