如何激活Chrome中的CSS代码
我正在使用OpenCart 3.0.3.8。 eShop是 https://morrisdirect.co.uk 在stylesheet.css文件的末尾,我添加了以下CSS代码:
@media all and (min-width: 900px) {
.container-two-columns {
}
.columns-two-columns {
column-count: 2;
column-gap: 0.3em;
}
}
我正在从主页(和更多页面)调用此CSS代码,以将(下方)图片(在滑块下方)相互隔开。它在桌面Firefox和Opera中完美运行,但并未在Chrome中运行。
你能帮我吗? :)
I am using OpenCart 3.0.3.8. The eshop is https://morrisdirect.co.uk
At the end of the stylesheet.css file, I added the following CSS code:
@media all and (min-width: 900px) {
.container-two-columns {
}
.columns-two-columns {
column-count: 2;
column-gap: 0.3em;
}
}
I am calling this CSS code from the homepage (and some more pages) to put the (below the slider) pictures next to each other. It is running perfectly in desktop Firefox and Opera, but it is not running in Chrome.
Can you help me please? :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要制作
< a>
元素块元素才能起作用:您不需要:
因为它没有做任何事情。
You need to make the
<a>
elements block elements for this to work:You don't need the:
Since it's not doing anything.
这可能是按照您的代码的一种方式:
}
This can be one way as per your code:
}