lib/api/css.js
function getCss(el, prop) {
  var styles = parse(el.attribs.style);
  if (typeof prop === 'string') {
    return styles[prop];
  } else if (Array.isArray(prop)) {
    return _.pick(styles, prop);
  } else {
    return styles;
  }
}
function getCss(el, prop) {
  var styles = parse(el.attribs.style);
  if (typeof prop === 'string') {
    return styles[prop];
  } else if (Array.isArray(prop)) {
    return _.pick(styles, prop);
  } else {
    return styles;
  }
}
function getCss ( el , prop ) { var styles = parse ( el . attribs . style ) ; if ( typeof prop === 'string' ) { return styles [ prop ] ; } else if ( Array . isArray ( prop ) ) { return _ . pick ( styles , prop ) ; } else { return styles ; } }
Get parsed styles of the first element.

@param {String} prop
@return {Object}
@api private
Get parsed styles of the first element .