CSSNotebook
extends Nodebook
"CSSNotebook" is used for basic stylesheets or .css files. .scss is not supported at the moment.
Usage
Setup
const Nodebook = require('nodejs-notebook');
let styles = new Nodebook.CSSNotebook('styles');create(type, name)
Creates a style bracket. I
string type: The type of bracket. Must be class (classes), id (IDs), or element (global elements).
string name: The name of the representing bracket.
Returns: A CSSStyle with Data. If exists, will return existing CSSStyle.
let imageFooter = styles.create('class', 'image-footer');Last updated
Was this helpful?