Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/14.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
Twitter bootstrap 3 Bootstrap 3中的响应背景图像_Twitter Bootstrap 3 - Fatal编程技术网

Twitter bootstrap 3 Bootstrap 3中的响应背景图像

Twitter bootstrap 3 Bootstrap 3中的响应背景图像,twitter-bootstrap-3,Twitter Bootstrap 3,我正在使用Boot Strap 3创建响应性布局。我尝试使用背景图像作为响应。但它不起作用 创建了具有背景图像属性的css,并在div中调用该类。还在同一div中添加了“img responsive”类,但bg图像没有重新调整大小 请告知。 非常感谢。 Monica确保您正在使用 背景尺寸:封面;或 背景尺寸:包含; 在您的背景图像上使用css。不需要img响应类。请包含足够的相关代码,以便重现问题

我正在使用Boot Strap 3创建响应性布局。我尝试使用背景图像作为响应。但它不起作用

创建了具有背景图像属性的css,并在div中调用该类。还在同一div中添加了“img responsive”类,但bg图像没有重新调整大小

请告知。 非常感谢。
Monica

确保您正在使用
背景尺寸:封面;或
背景尺寸:包含;
在您的背景图像上使用css。不需要img响应类。

请包含足够的相关代码,以便重现问题