我很难让 background-repeat:round;
在 Chrome 中工作,尽管我在任何地方查找它都支持它。
网址是https://thecraftygardeners.co.uk/
我提供了一个屏幕截图链接,显示了 Chrome 和 Firefox View 之间的差异,包括用于显示代码的检查器窗口。我使用的是最新版本的 Chrome。
最佳答案
I'm having trouble getting background-repeat:round to work in Chrome, although everywhere I look I'm told it is supported.
你有 background-position: center;
早些时候为你的按钮设置。尝试通过添加 background-position: initial;
来覆盖它给你的.et_pb_button_[0|1|3]
并删除 background-size: contain;
.它似乎解决了这个问题,图像将缩放直到它适合 1 倍为 round
选项 suggests .
关于css - 背景重复回合在 Chrome 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47037907/