背景尺寸:Google Chrome浏览器突然停止工作? [英] Background-size: cover suddenly stopped working in Google Chrome?

查看:358
本文介绍了背景尺寸:Google Chrome浏览器突然停止工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有其他人遇到这个问题吗?我为生活创建网站,有些雇用css属性 background-size:cover 的使用。所有的突然大约1周前,所有与此属性的网站不再显示在谷歌Chrome浏览器。 (所有其他浏览器工作正常。)有没有人遇到这个?它只是我的谷歌Chrome或做了什么改变?因为背景在大约一个星期前才正常显示,我没有更改任何内容。 他们只是停止显示正常,看似无处不在....

Is anyone else having this issue? I create websites for a living, and some employ the use of the css property background-size: cover. All of the sudden about 1 week ago, all of the sites with this property no longer display right in Google Chrome. (all other browsers are working fine.) Is anyone else experiencing this? Is it just MY google chrome or did something change? Because the backgrounds were displaying properly until about a week ago, and I did not change anything. They just stopped displaying properly, seemingly out of nowhere....

推荐答案

最佳实践:总是先设置背景图像,然后背景大小。

Best practice: always set background-image first and then background-size.

这篇关于背景尺寸:Google Chrome浏览器突然停止工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆