Bootstrap CSS

Use as a CSS Module for server-side JavaScript apps.

WARNING: do not use on any component that inlines child components, because it will pollute their CSS namespaces. Similarly, do not use on the HTML and BODY elements even if your’s is the only app on the page, because it will conflict with the Boomla frontend toolchain.

Example

Example filesystem structure:

./app [type="app-1"]
./app/.Inline [type="sjs-4"]
./app/bootstrap-css.boomla.net [link="package bootstrap-css.boomla.net"]

Example ./app/.Inline body:

var cssFile = source.select('../bootstrap-css.boomla.net/bootstrap.css');
var style = response.addCssModule(cssFile);

var p = '';
p += '<div class="'+style['-div']+'">';
    p += '<button class="'+style.btn+' '+style['btn-primary']+'">button</button>';
p += '</div>';

response.body(p);

Live demo