我的 CSS 是这样的:
body {
background: url(images/Gabrielheroimage3.jpg);
background-repeat: no-repeat;
background-size: contain;
max-height: 700px;
max-width: 1300px;
}
尝试删除最大高度和宽度但没有帮助。还尝试了 background-image 而不是 background ,但这也没有帮助。我感谢任何建议!谢谢!
最佳答案
背景图片:url(images/Gabrielheroimage3.jpg);
关于CSS3 IE 11 背景图像不出现在 chrome、edge、safari 中,只是不是 ie,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38252891/