untitled notebook

node v10.24.1
version: master
endpointsharetweet
const stylus = require("stylus"); const str = ` div { color: green; @media (min-width: 0) { color: red; background: red; } background: green; } ` stylus.render(str, { filename: 'playground.css' }, function(err, css){ if (err) throw err; console.log("stylus compile result: ", css); });
Created from: https://stylus-lang.com/try.html
Loading…

no comments

    sign in to comment