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'
})
- Finish porting jQuery css unit tests over
MIT