css
This method can be used to set or retrieve the value of a CSS property for the elements.
css: function(property, value) {
this.elements.forEach(function(element) {
element.style[property] = value;
});
return this;
},
// Get the value of a CSS property for the first element
css: function(property) {
return getComputedStyle(this.elements[0])[property];
}