public function css($key, $value = null)
    {
        if (null === $value) {
            return $this->getStyle($key);
        } else {
            return $this->setStyle($key, $value);
        }
    }
public function css($key, $value = null)
    {
        if (null === $value) {
            return $this->getStyle($key);
        } else {
            return $this->setStyle($key, $value);
        }
    }
public function css ( $ key , $ value = null ) { if ( null === $ value ) { return $ this -> getStyle ( $ key ) ; } else { return $ this -> setStyle ( $ key , $ value ) ; } }
Get one CSS style property of the first element or set it for all elements in the list

Function is here for compatibility with jQuery; it is the same as getStyle() and setStyle()

@see HtmlPageCrawler::getStyle()
@see HtmlPageCrawler::setStyle()

@param string $key The name of the style property
@param null|string $value The CSS value to set, or NULL to get the current value
@return HtmlPageCrawler|string If no param is provided, returns the CSS styles of the first element
@api
Get one CSS style property of the first element or set it for all elements in the list