untitled notebook

node v6.17.1
version: 2.0.0
endpointsharetweet
let css = ` .foo { & .bar { color:red } } ` console.log('see how they both work with `&`s ?') console.log(require('postcss-nesting').process(css).toString()) console.log(require('postcss-nested').process(css).toString()) css = ` .foo { .bar { color:red } } ` console.log('now see how the standards-based one from cssnext doesnt actually handle it if you dont have the &s?') console.log(require('postcss-nesting').process(css).toString()) console.log(require('postcss-nested').process(css).toString())
Loading…

no comments

    sign in to comment