jsss-contextual

    1.0.4 • Public • Published

    jsss-contextual

    A contextual method in JSSS

    Badged

    • NPM Version
    • MIT LICENSE
    • Build Status

    Install

    Using npm.

    $ npm install --save-dev jsss-contextual
    

    Example

    style.js

    var contextual = require('jsss-contextual');
    contextual(tags.UL, tags.LI).color = 'red';
    contextual(tags.UL, tags.LI).fontSize = '10px';

    compile

    $ jsss style.js style.css
    

    style.css

    UL {
        color: red;
          font-size: 10px;
    }
     
    LI {
        color: red;
          font-size: 10px;
    }

    Install

    npm i jsss-contextual

    DownloadsWeekly Downloads

    7

    Version

    1.0.4

    License

    MIT

    Last publish

    Collaborators

    • watilde