【发布时间】:2015-01-21 11:05:46
【问题描述】:
我知道您可以更改“variables.less”文件中的@grid-float-breakpoint,该文件编译成我们都下载和使用的引导程序包(我认为)。
bootstrap/
├── css/
│ ├── bootstrap.css
│ ├── bootstrap.min.css
│ ├── bootstrap-theme.css
│ └── bootstrap-theme.min.css
├── js/
│ ├── bootstrap.js
│ └── bootstrap.min.js
└── fonts/
├── glyphicons-halflings-regular.eot
├── glyphicons-halflings-regular.svg
├── glyphicons-halflings-regular.ttf
└── glyphicons-halflings-regular.woff
我的问题是,您能否在不自定义新引导程序包的情况下更改@grid-float-breakpoint,而是使用@media 或其他方法通过CSS 更改它。如果可能,请建议在哪里以及如何执行此操作的方法。谢谢
【问题讨论】:
-
重新编译 Less 源代码是正确的方法,而且容易得多。
-
我目前正在使用 ... 所以当你的意思是重新编译,你的意思是从 bootstrap(getbootstrap.com/customize) 自定义一个新包并引用我驱动器中的路径?
标签: html css twitter-bootstrap