当前位置: 动力学知识库 > 问答 > 编程问答 >

css - Creating custom namespace [classes,ID] for bootstrap using less prepreocessor

问题描述:

bootstrap has .table and .table-responsive for tables, I don't need a .table I want it applied to all table so I used it as mixin

table { .table; }

table.responsive { .table.responsive; }

but now I will have both of them in my css file, I just want to have my custom created classes and remove the bootstraps name spaced classes....

I have tried to implement is many ways but no luck...

what if bootstrap provide all of its classes as mixins and call them in a different file, allowing users to make their own namespaced stylesheet...

分享给朋友:
您可能感兴趣的文章:
随机阅读: