不同的引导CSS文件? [英] Different bootstrap CSS files?

查看:95
本文介绍了不同的引导CSS文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载了一个基于引导版本3的Web模板。

在模板里面,我找到了名为 bootstrap-cerulean.css的CSS文件,bootstrap-journal.css,bootstrap-classis.css 。虽然,我找不到名为 bootstrap.css 的文件。什么是 bootstrap-cerulean.css,bootstrap-journal& bootstrap-classis 定义还是做?它们是自举的主题吗?如果我引用诸如 bootstrap-cerulean.css 之类的主题之一,是否还需要引用 bootstrap.css

解决方案

所有bootstrap.css样式都最有可能被修改,并且与您提供的三个自定义css文件所以不,你不需要链接默认的bootstrap.css,除非你打算将页面上的某些元素覆盖为默认样式(我建议使用一个新的css文件,保留一些更改以覆盖模板的样式,而不是将整个bootstrap.css链接到模板。


I downloaded a Web template which is based on bootstrap version 3.

Inside the template I found CSS files named bootstrap-cerulean.css, bootstrap-journal.css, bootstrap-classis.css. Although, I can not find a file named bootstrap.css. What do bootstrap-cerulean.css, bootstrap-journal & bootstrap-classis define or do? Are they themes for bootstrap? Do I still need to reference bootstrap.css if I reference one of the themes such as bootstrap-cerulean.css?

解决方案

All the bootstrap.css styles are most probably modified and integrated with those three mentioned custom css files that you got with the template so no, you don't need to link the default bootstrap.css anymore unless you're planning to override certain elements on the page to the default style (which I would recommend using a new css file with the few changes kept there for overriding the template's style rather than linking the whole bootstrap.css to the template.

这篇关于不同的引导CSS文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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