Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/hadoop/6.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_Twitter Bootstrap_Bootstrap 4 - Fatal编程技术网

Html 网格系统上缺少引导自定义下载样式

Html 网格系统上缺少引导自定义下载样式,html,css,twitter-bootstrap,bootstrap-4,Html,Css,Twitter Bootstrap,Bootstrap 4,我只想将bootstrap中唯一的网格系统包含到我的项目中,因为我从中下载了bootstrap网格。但该文件中缺少一些样式 正常引导.css .row { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; } .row { margin-right: -15px; m

我只想将bootstrap中唯一的网格系统包含到我的项目中,因为我从中下载了bootstrap网格。但该文件中缺少一些样式

正常引导.css

    .row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
    .row {
  margin-right: -15px;
  margin-left: -15px;
}
自定义bootstrap.css中的样式

    .row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
    .row {
  margin-right: -15px;
  margin-left: -15px;
}
正如您所看到的,自定义下载的引导css中缺少与flex相关的属性,但它仍在正常引导中。

如果您只需要引导4网格,请从此处使用bootstrap-grid.css:

这包括栅格、flexbox和显示实用程序,但不是所有元素样式和实用程序,如边框、间距等


现在已经没有像以前那样的官方引导定制工具了。对于4.x,您必须这样做,或者一个非官方的定制程序(例如,它将允许您更改500多个SASS变量中的任何一个)警告:我构建了这个工具。

display:flex css在bootstrap4中,您正在使用bootstrap3。。。因此,使用bootstrap4,您可以看到显示:flex CSS已更改为版本4,但缺少自定义选项。哪个自定义?????????