Détail du package

cssauron-html

chrisdickinson27MIT1.0.0

css sauron config for html

cssauron, html

readme

cssauron-html

CSSauron preconfigured for DOM objects.


var css = require('cssauron-html')

var sel = css('div#dom > [some-attribute]')

var el = document.getElementById('some-target')

console.log(sel(el) ? 'element matches sel' : 'element doesn\'t match ):')

License

MIT