wrap a .less css definitions in a namespace

前端 未结 5 593
情话喂你
情话喂你 2020-12-24 07:31

I wanted to use twitter bootstrap CSS only in a specific element in my web page.

I tried to do it like in code below. But after compiling this to a css file nothing

5条回答
  •  不知归路
    2020-12-24 08:09

    if you have control over the compilation parameters just set strictImports to false and work as you intended to everything should be fine. consider looking at less-strictimports or at this issue.

提交回复
热议问题