bootstrap.css 和 bootstrap-theme.css 有什么区别? [英] What is the difference between bootstrap.css and bootstrap-theme.css?
问题描述
我们下载bootstrap时在bootstrap文件中找到的bootstrap.css和bootstrap-theme.css有什么区别?
What is the difference between bootstrap.css and bootstrap-theme.css found in the bootstrap file when we download bootstrap?
推荐答案
bootstrap.css
是 BootStrap 的核心 css,它定义了各种控件/组件的所有样式,其中 bootstrap-theme.css
定义按钮、下拉菜单、导航栏、进度栏、面板的主题(渐变/动画).
bootstrap.css
is the core css for BootStrap that defines all the style for various controls/components, where as bootstrap-theme.css
defines the themes (gradient/animation) for buttons,dropdown menu,navbar,progressbar,panels.
大多数时候添加 bootstrap.css
足以让 bootstrap 工作,但是对于渐变/动画,你可以使用 bootstrap-theme.css
.
Most of the times adding bootstrap.css
is enough for bootstrap to work, but for gradient/animation, you can use bootstrap-theme.css
.
您可以在 https://getbootstrap.com/docs/3.4/css/#buttons 上看到不同之处 然后点击预览主题";从页面右侧菜单的最底部.
You can see the difference on https://getbootstrap.com/docs/3.4/css/#buttons and then click on "Preview theme" from the very bottom of the menu on the right-hand side of the page.
这篇关于bootstrap.css 和 bootstrap-theme.css 有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!