src/template/Html.php
public static function removeCssStyle(&$options, $properties)
    {
        if (!empty($options['style'])) {
            $style = static::cssStyleToArray($options['style']);
            foreach ((array)$properties as $property) {
                unset($style[$property]);
            }
            $options['style'] = static::cssStyleFromArray($style);
        }
    }
public static function removeCssStyle(&$options, $properties)
    {
        if (!empty($options['style'])) {
            $style = static::cssStyleToArray($options['style']);
            foreach ((array)$properties as $property) {
                unset($style[$property]);
            }
            $options['style'] = static::cssStyleFromArray($style);
        }
    }
public static function removeCssStyle ( & $ options , $ properties ) { if ( ! empty ( $ options [ 'style' ] ) ) { $ style = static :: cssStyleToArray ( $ options [ 'style' ] ) ; foreach ( ( array ) $ properties as $ property ) { unset ( $ style [ $ property ] ) ; } $ options [ 'style' ] = static :: cssStyleFromArray ( $ style ) ; } }
Removes the specified CSS style from the HTML options.

For example,

```php
Html::removeCssStyle($options, ['width', 'height']);
```

@param array $options the HTML options to be modified.
@param string|array $properties the CSS properties to be removed. You may use a string
if you are removing a single property.
@see addCssStyle()
Removes the specified CSS style from the HTML options .