Bootstrap只导入你需要的部分,无需使用SASS。

huangapple go评论58阅读模式
英文:

Bootstrap import only you need without SASS

问题

I don't use Bootstrap, but 1 thing made me use it.
The class collapse with certain button.
I have got more than 2 thousand lines of CSS and when I linked and imported BOOTSTRAP, it started remaking all my styles. In another word, Bootstrap styles and My Own CSS styles are collapsing and making unusable and ugly UI.

The question is:
Can I include only style classes that I really need?

Googled Bootstrap只导入你需要的部分,无需使用SASS。
I have no XP in this situation...

英文:

I don't use Bootstrap, but 1 thing made me use it.
The class collapse with certain button.
I have got more than 2 thousand line of CSS and when I linked and imported BOOTSTRAP, it started remaking all my styles. In another word, Bootstrap styles and My Own CSS styles are collapsing and making unusable and ugly UI.

The question is:
Can I include only style classes that I really need?

Googled Bootstrap只导入你需要的部分,无需使用SASS。
I have no XP in this situation...

答案1

得分: 0

https://getbootstrap.com/docs/3.4/customize/#download

https://i.stack.imgur.com/PWl7H.png
https://i.stack.imgur.com/zFCoP.png

英文:

Within the bootstrap documentation I have found that you can download the styles separately, selecting which ones you need

https://getbootstrap.com/docs/3.4/customize/#download

https://i.stack.imgur.com/PWl7H.png
https://i.stack.imgur.com/zFCoP.png

huangapple
  • 本文由 发表于 2023年2月16日 11:56:41
  • 转载请务必保留本文链接:https://go.coder-hub.com/75467712.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定