$ gnpm install component-css
jQuery's css() method.
Install with component(1):
$ component install component/css
Get 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
Copyright 2013 - present © cnpmjs.org | Home |