How to change the default background color white to something else in twitter bootstrap

后端 未结 9 2133
再見小時候
再見小時候 2021-01-31 15:47

I am building a web application where I have set my default color to navy blue using css. But when i added the twitter bootstrap css\'s in my page I did not find my navy blue co

9条回答
  •  萌比男神i
    2021-01-31 16:19

    I would not recommend changing the actual bootstrap CSS files. If you do not want to use Jako's first solution you can create a custom bootstrap style sheet with one of the available Bootstrap theme generator (Bootstrap theme generators). That way you can use 1 style sheet with all of the default Bootstrap CSS with just the one change to it that you want. With a Bootstrap theme generator you do not need to write any CSS. You only need to set the hex values for the color you want for the body (Scaffolding; bodyBackground).

提交回复
热议问题