css - defunctzombie/dom GitHub Wiki
Get and set css properties.
get the value for
prop
var value = dom('#foobar').css('display');set the value for
proptovalue
set several properties based on the
key:valuepairs of the object. This is equivalent to calling.css(key, value)for each key:value pair.
dom('<div>').css({
color: 'blue',
display: 'inline-block'
});