npm install component-cssjQuery's css() method.
Install with component(1):
$ component install component/css
Get the computed value of the prop on el.
``js`
css(p, 'color')
Set the CSS value on the prop on el
`js`
css(p, 'color', 'red')
Set a styles object to el
`js``
css(p, {
color: 'red',
background: 'blue'
})
- Finish porting jQuery css unit tests over
MIT