Bootstrap类在React Bootstrap中重复

发布于 2025-02-10 16:17:51 字数 611 浏览 2 评论 0 原文

I am customizing my react-bootstrap theme following the documentation. The customization is working fine but when I look up an element in the chrome inspector it shows the same bootstrap classes getting repeated multiple times.
For example, if I am using the bootstrap's .btn class for my button, then the .btn class will repeat and override itself multiple times.
My question is whether it will affect any performance of my app and if it does how to fix it?

Check the following picture for reference
enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文