我可以只使用Twitter Bootstrap的某些元素吗? [英] Can I use only certain elements of Twitter Bootstrap?
问题描述
如果可能,我想要类似Bootstrap库的按钮和div样式属性。
您可以在 Twitter Bootstrap页面的自定义下载。只需选择你需要的任何东西,然后点击下载。
你也可以去项目官方存储库,下载所有较少的文件,并仅编译所需的文件,在 bootstrap.less中注释不需要的文件行
档案。
Can I use only some certain elements of bootstrap library? For example, if I import the whole library, my page breaks because of conflicts between my CSS and Bootstrap's CSS; they are overwriting each other's properties.
If possible, I want something like just the button and div styling properties of the Bootstrap library.
You can download whatever you need in the customized download of Twitter Bootstrap page. Just select whatever you need and click on download.
Also you can go to the project official repository, download all the less files, and compile only what is necessary for you, commenting the lines of the files that you don't need in the bootstrap.less
file.
这篇关于我可以只使用Twitter Bootstrap的某些元素吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!