function css(prop, val) {
    if ((prop != null && val != null) ||
        // When `prop` is a "plain" object
        (typeof prop === 'object' && !Array.isArray(prop))) {
        return (0, utils_js_1.domEach)(this, function (el, i) {
            if ((0, utils_js_1.isTag)(el)) {
                // `prop` can't be an array here anymore.
                setCss(el, prop, val, i);
            }
        });
    }
    if (this.length === 0) {
        return undefined;
    }
    return getCss(this[0], prop);
}
/**
 * Set multiple CSS properties for every matched element.
 *
 * @category CSS
 * @param prop - The names of the properties.
 * @param val - The new values.
 * @returns The instance itself.
 * @see {@link https://api.jquery.com/css/}
 */
Set multiple CSS properties for every matched element.
@category CSS
@param prop - The names of the properties.
@param val - The new values.
@returns The instance itself.
Set multiple CSS properties for every matched element . @category CSS @param prop - The names of the properties . @param val - The new values . @returns The instance itself .
function css(prop, val) {
    if ((prop != null && val != null) ||
        (typeof prop === 'object' && !Array.isArray(prop))) {
        return (0, utils_js_1.domEach)(this, function (el, i) {
            if ((0, utils_js_1.isTag)(el)) {
                setCss(el, prop, val, i);
            }
        });
    }
    if (this.length === 0) {
        return undefined;
    }
    return getCss(this[0], prop);
}
function css ( prop , val ) { if ( ( prop != null && val != null ) || ( typeof prop === 'object' && ! Array . isArray ( prop ) ) ) { return ( 0 , utils_js_1 . domEach ) ( this , function ( el , i ) { if ( ( 0 , utils_js_1 . isTag ) ( el ) ) { setCss ( el , prop , val , i ) ; } } ) ; } if ( this . length === 0 ) { return undefined ; } return getCss ( this [ 0 ] , prop ) ; }
Set multiple CSS properties for every matched element.
Set multiple CSS properties for every matched element .
// When `prop` is a "plain" object // `prop` can't be an array here anymore.