bootstrap 4.1 - 仅获取网格系统 [英] bootstrap 4.1 - to get grid system only
问题描述
伙计们万岁!有没有办法自定义 Bootstrap 4.1 以构建一个只有两个东西的自定义版本:网格系统和响应式实用程序.这是针对 3.3 执行此操作的链接,但由于某种原因最终编译不起作用:
https://getbootstrap.com/docs/3.3/customize/
我可以从原始文件中手动执行此操作,但是,也许有一种方法可以从 Bootstrap 中获取它,而不是剥离它们的 CSS.
只需使用 Bootstrap 4 下载中包含的 bootstrap-grid.css
.
http://getbootstrap.com/docs/4.1/getting-started/contents/#css-files
这包括网格、弹性框和显示实用程序,但不是所有边框、间距等实用程序.>
Hails guys! Is there a way to customize Bootstrap 4.1 to build a custom version with only two things: Grid system and Responsive utilities. Here is the link to do that for 3.3 but for some reason the final compilation doesn't work:
https://getbootstrap.com/docs/3.3/customize/
I could do that manually from the original file but, maybe there is a way to get that from Bootstrap instead of stripping their CSS off.
Just use bootstrap-grid.css
included in the Bootstrap 4 download.
http://getbootstrap.com/docs/4.1/getting-started/contents/#css-files
This includes the grid, flexbox and display utilities, but not all the utilities like the borders, spacing, etc..
这篇关于bootstrap 4.1 - 仅获取网格系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!