Twitter bootstrap 重写引导变量不会';好像不行
我试图覆盖引导中的列宽度。正如bootstrap_和_overrides.less中所建议的,这是我应该覆盖它们的地方:Twitter bootstrap 重写引导变量不会';好像不行,twitter-bootstrap,less,Twitter Bootstrap,Less,我试图覆盖引导中的列宽度。正如bootstrap_和_overrides.less中所建议的,这是我应该覆盖它们的地方: // Since bootstrap was imported above you have access to its mixins which // you may use and inherit here // // If you'd like to override bootstrap's own variables, you can do so here as we
// Since bootstrap was imported above you have access to its mixins which
// you may use and inherit here
//
// If you'd like to override bootstrap's own variables, you can do so here as well
// See http://twitter.github.com/bootstrap/less.html for their names and documentation
// Example:
// @linkColor: #ff0000;
@gridColumnWidth : 55px;
@gridGutterWidth: 43px;
当我重新启动服务器并重新加载页面时,生成的css不会改变,跨距宽度保持不变
我是否需要重新编译less文件才能使更改生效?我该怎么做
提前谢谢 是的,您需要使用重新编译以查看更改。您可以使用LESS站点的JavaScript,也可以使用上的某个方法。您还可以在此处自定义引导程序的下载
@gridColumnWidth
和@gridGutterWidth
可定制