src/HtmlElement.php
public function addStyle($value) : self
    {
        $currentStyles = $this->getStyles();
        $styles = array_unique(array_merge($currentStyles, (is_array($value) ? $value : explode(';', $value))));

        return $this->setStyle($styles);
    }
public function addStyle($value) : self
    {
        $currentStyles = $this->getStyles();
        $styles = array_unique(array_merge($currentStyles, (is_array($value) ? $value : explode(';', $value))));

        return $this->setStyle($styles);
    }
@param array|string $value

@return $this|self