package
DOM element css helper
npm install component-cssGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
jQuery's css() method.
Install with component(1):
$ component install component/cssGet the computed value of the prop on el.
css(p, 'color')Set the CSS value on the prop on el
css(p, 'color', 'red')Set a styles object to el
css(p, {
color: 'red',
background: 'blue'
})MIT
dominicbarnes
dominic@dbarnes.info
Estimated unpacked size across 12 packages.
52.3 kB
Includes dependencies.
4 direct · 2 outdated