bootstrap 4.1-仅获取网格系统 [英] bootstrap 4.1 - to get grid system only
问题描述
万岁! 有没有一种方法可以自定义 Bootstrap 4.1 以仅使用以下两项来构建自定义版本:网格系统和响应式实用程序. 这是针对3.3版执行此操作的链接,但由于某些原因,最终编译无法正常工作
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/
我可以从原始文件中手动执行此操作,但是也许有一种方法可以从Bootstrap中获取它,而不是剥离其CSS.
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.
推荐答案
只需使用Bootstrap 4下载中包含的bootstrap-grid.css
.
Just use bootstrap-grid.css
included in the Bootstrap 4 download.
http://getbootstrap.com/docs/4.1/getting -started/contents/#css-文件
这包括网格,flexbox 和显示实用程序,但不包括 all 实用程序,例如边框,间距等.
This includes the grid, flexbox and display utilities, but not all the utilities like the borders, spacing, etc..
这篇关于bootstrap 4.1-仅获取网格系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!