修改Bootstrap.css并更新Visual Studio中的缩小版本? [英] Modifying Bootstrap.css and updating the minified version in Visual Studio?

查看:101
本文介绍了修改Bootstrap.css并更新Visual Studio中的缩小版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用VS Express 2013,试图为Roadkill wiki定制引导主题。我试图用背景图像替换主体颜色。



修改bootstrap.css很容易,但为了获得网站更新,您需要推送更改为bootstrap.min.css。到目前为止,我只知道如何手动执行此操作。我正在寻找任何方法,我可以自动缩小版本更新。



我猜这可能很简单,但我找不到如何做到这一点的任何步骤。

解决方案

只需创建自己的css文件并覆盖您想要更改的css设置即可。



请务必在启动后加载您的override css,以便您的覆盖优先。

这样您就不需要编辑任何boostrap css。


I am using VS Express 2013, trying to customize a bootstrap theme for a Roadkill wiki. I'm trying to replace the body color with a background image.

It's easy enough to modify the bootstrap.css, but in order to get site updates you need to push changes into bootstrap.min.css. So far, I am only aware of how to do this manually. I'm looking for any method whereby I can just have the minified version update automatically.

I'm guessing it's probably really simple to do, but I can't find any steps on how to do this.

解决方案

Just create your own css file and override just the css settings you want to change.

Be sure to load your override css after bootstrap so your overrides take precendence.

This way you dont need to edit either boostrap css at all.

这篇关于修改Bootstrap.css并更新Visual Studio中的缩小版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆