Bootstrap CSS

Use as a CSS Module for sjs-3 apps.

Example

Example filesystem structure:

./app [type="sjs-3"]
./app/bootstrap [link="import bootstrap-css.boomla.net"]

Example ./app

cssFile = f.select('bootstrap/bootstrap.css');
style = response.addCssModule(cssFile);

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

response.body(p);

Live demo