Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/77.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 响应性全页背景图像_Html_Css - Fatal编程技术网

Html 响应性全页背景图像

Html 响应性全页背景图像,html,css,Html,Css,这是我的网站url链接。当我尝试使其响应时,背景图像无法响应给你: 不要给出具体的高度,否则它不会有反应 body { width:100%; position: relative; -webkit-background-size: cover; -moz-background-size: cover; background-size: cover; background-image:url('https://www.google.com/imag

这是我的网站url链接。当我尝试使其响应时,背景图像无法响应

给你:

不要给出具体的高度,否则它不会有反应

body {
    width:100%;
    position: relative;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    background-image:url('https://www.google.com/images/srpr/logo11w.png');
    background-repeat: no-repeat;
    margin: 0px;
    padding: 0px;
}

请投入一些精力提出一个明确的问题,我们将能够更好地为您提供一个有意义的答案;如果要用图像填充窗口