Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/70.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
Jquery 如何将引导css宽度更改为1000px?_Jquery_Html_Css_Twitter Bootstrap - Fatal编程技术网

Jquery 如何将引导css宽度更改为1000px?

Jquery 如何将引导css宽度更改为1000px?,jquery,html,css,twitter-bootstrap,Jquery,Html,Css,Twitter Bootstrap,在引导容器的宽度是固定的1170px,我想转换 容器宽度为1000。所以,请任何人回答我,并告诉我程序 您可以简单地为该div指定style=“width:1000px;”CSS覆盖: body .container { width: 100%; !important; } 或固定宽度: body .container { width: 1000px; !important; } 但是如果您使用引导响应,您将失去响应性,因此您也需要在CSS声明中配置它们。最好的方法是在htm

在引导容器的宽度是固定的1170px,我想转换
容器宽度为1000。所以,请任何人回答我,并告诉我程序

您可以简单地为该div指定
style=“width:1000px;”
CSS覆盖:

body .container {
    width: 100%; !important;
}
或固定宽度:

body .container {
    width: 1000px; !important;
}

但是如果您使用引导响应,您将失去响应性,因此您也需要在CSS声明中配置它们。

最好的方法是在html头中引导响应后添加另一个CSS文件,规则如下:

body .container {
    width: 1000px; !important;
}

一个互相引导的风格,你想让它过快

你自己尝试过吗?