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
Here is how I did it, based on majgis's github fork above:
bootstrap-ns.less:
@import "namespace.less" .bs { #ns > .twitter; }
namespace.less:
#ns { .twitter(){ @import "bootstrap.less"; } }
You then reference bootstrap-ns.less in your html page. This was tested with dotLESS.