Core Docs | Additional Modules Docs

sb.css.styleTag


@Description: Used to create a css style tag on the fly. You can pass it an existing style tag if you would like to manipulate that one.
@File: css/styleTag.js
@Param: Object styleTag An already existing style tag node - optional
@Example:
var css = new sb.css.styleTag();
css.write('body{border:10px solid red;}');
css.clear();
css.write('body{border:10px solid yellow;}');
css.replace('body', '#main');
css.hide();
css.toggle();